Boost logo

Boost :

From: shunsuke (pstade.mb_at_[hidden])
Date: 2007-08-18 11:35:30

Atry wrote:
> I found that boost::oven::equals not support boost::iterator_range, Here
> is the test case.

That is a STL implementation bug.
istreambuf_iterator<>::reference is wrongly a reference type.
Instead, you can use oven::streambuf_read that works around it.

     BOOST_CHECK(equals(streambuf_read(ss), single('1')));


Shunsuke Sogame

Boost list run by bdawes at, gregod at, cpdaniel at, john at