3 Nov
2010
3 Nov
'10
2:52 p.m.
Den 03-11-2010 14:56, Matthieu Brucher skrev:
Hi,
I have a scoped_array with some chars inside (so a boost::scoped_array<char>). I want to use the string algorithms, but I can't managed to get a range from the scoped_array. I don't know if the data ends with a '\0' (it's received from asio with a read()), so I can't rely on as_literal.
Is there a way of creating a Range directly with two iterators?
boost::make_iterator_range( <begin>, <end> ) ? -Thorsten