
18 Aug
2007
18 Aug
'07
3:35 p.m.
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'))); Regards, -- Shunsuke Sogame