|
Boost Users : |
Subject: Re: [Boost-users] cannot convert from 'const boost::iterator_range<IteratorT>' to 'const std::basic_string<_Elem, _Traits, _Ax>'
From: Igor R (boost.lists_at_[hidden])
Date: 2012-04-04 06:40:00
> Â Â Â Â Â Â std::string s = *i; ////////////////////////////COMPILER ERROR:
> cannot convert from 'const boost::iterator_range<IteratorT>' to 'const
> std::basic_string<_Elem,_Traits,_Ax>'
> Â Â Â Â Â Â std::cout << s << '\n';
std::string s(i->begin(), i->end());
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net