Boost logo

Boost :

From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2008-02-18 13:11:38


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk