Boost logo

Boost Users :

Subject: Re: [Boost-users] [String_Ref] Working with other parts of boost
From: Norbert Wenzel (norbert.wenzel.lists_at_[hidden])
Date: 2013-11-19 10:26:42


On 19.11.2013 15:57, Bjorn Reese wrote:
> On 11/19/2013 02:30 PM, Antony Polukhin wrote:
>
>> Or were you talking about some other "range concept" support?
>
> Yes, I was talking about Boost.Range concepts, which are used in
> Boost.StringAlgo. Here you pass a reference to an object whose
> beginning and ending can be obtained by boost::begin()/end().
> This way the string algorithms work directly with string_ref.

I'm not sure if I understand your point correctly, but lexical_cast was
the one thing I used, which actually did work with string_ref. Though I
didn't check if lexical_cast made any copies or other unnecessary stuff
internally, but I think I got the correct results from lexical_cast.


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