Hi, does the boost filesystem support boost.range (or vice versa?) I've got a compile error by fs::ifstream in( ... ); std::string storage; boost::copy( in, std::back_inserter( storage ) ); using trunk boost/mpl/eval_if.hpp: In instantiation of ‘boost::mpl::eval_if_c<true, boost::range_const_iterator<boost::filesystem::basic_ifstream<char, std::char_traits<char> > >, boost::range_mutable_iterator<const boost::filesystem::basic_ifstream<char, std::char_traits<char> > > >’: boost/range/iterator.hpp:63: instantiated from ‘boost::range_iterator<const boost::filesystem::basic_ifstream<char, std::char_traits<char> > >’ boost/range/concepts.hpp:221: instantiated from ‘boost::SinglePassRangeConcept<boost::filesystem::basic_ifstream<char, std::char_traits<char> > >’ boost/concept/detail/has_constraints.hpp:42: instantiated from ‘const bool boost::concepts::not_satisfied<boost::SinglePassRangeConcept<boost::filesystem::basic_ifstream<char, std::char_traits<char> > > >::value’ boost/concept/detail/has_constraints.hpp:45: instantiated from ‘boost::concepts::not_satisfied<boost::SinglePassRangeConcept<boost::filesystem::basic_ifstream<char, std::char_traits<char> > > >’ Thanks, Olaf
participants (2)
-
Olaf Peter
-
Steven Watanabe