$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Jody Hagins (jody-boost-011304_at_[hidden])
Date: 2005-01-28 23:52:19
I have a collection of boost:shared_ptr<>, and I want to test what they
point to. CHECK_EQUAL_COLLECTION does not take a predicate, so what
method do you suggest? Currently, I create "copies" of the collections
with "holders" that invoke the comparison on the "pointed-to-object" but
this seems a bit klunky.
What is the preferred method for this type of collection?