|
Boost : |
Subject: Re: [boost] [boost-lists][string algo] C++0x string algo.
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2010-01-17 17:54:20
Mathias Gaunard skrev:
> Thorsten Ottosen wrote:
>
>> There are more changes that can be made to the interface in view of
>> C++0x, especially move-semantics.
>>
>> I suggest that we create that interface in a new namespace e.g.
>> boost::cpp0x::algorithm.
>
> What does move semantics, or even C++0x, bring that is new with regards
> to string algorithms?
>
> That means you can return by value without causing a copy, but that was
> already true anyway due to NRVO.
Well, now it is guaranteed, it it does seem to have affected the
interface. Further, we should be able to take advantage of rvalue arguments.
-Thorsten
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk