id summary reporter owner description type status milestone component version severity resolution keywords cc 560 bug in output the range to an ostream e-poison Thorsten Ottosen "{{{ followed code can't be compiled std::wstring ws(L""test""); boost::iterator_range wrange(ws); std::wcout << wrange; // compilation error here It seems the implementation of operator << for iterator_range is not correct: File boost/iterator/iterator_range.hpp #ifndef BOOST_OLD_IOSTREAMS template< typename IteratorT, typename Elem, typename Traits > inline std::basic_ostream& operator<<( std::basic_ostream& Os, const iterator_range& r ) { std::copy( r.begin(), r.end(), std::ostream_iterator(Os)); return Os; } .. I guess the function body should be like this: { typedef typename iterator_value::type ValueType; std::copy( r.begin(), r.end(), std::ostream_iterator(Os)); return Os; } }}}" Bugs closed iterator None None