
17 May
2009
17 May
'09
7:21 a.m.
Jan Stolarek wrote:
Here an example that works fine: Awsome, thanks.
By the way, I just run into another serious problem, his time with BOOST_CHECK_EQUAL_COLLECTIONS macro that compares values in two collections. When using STL it is very common that elements in the collection are not objects, but pointers to objects.
...
I don't have the time at the moment, but I assume that replacing ( *left_begin != *right_begin ) with (**left_begin != **right_begin) would solve the problem?
I guess it will. I recommend using boost::indirect_iterator instead. Gennadiy