
18 Feb
2008
18 Feb
'08
6:11 p.m.
Thorsten Ottosen <thorsten.ottosen <at> dezide.com> writes:
then why not add
BOOST_CHECK_EQUAL_RANGE( Rng1, Rng2 )
// implement by calling make_iterator_range() on the two arguments
Also, I would like to see
BOOST_CHECK_NE_RANGE( Rng1, Rng2 ) BOOST_CHECK_GT_RANGE( Rng1, Rng2 ) BOOST_CHECK_GE_RANGE( Rng1, Rng2 ) BOOST_CHECK_LT_RANGE( Rng1, Rng2 ) BOOST_CHECK_LE_RANGE( Rng1, Rng2 )
I guess it make sence now. The only problem I would prefer to avoid extra dependency on range library. I can put it into separate header. Gennadiy