Boost logo

Boost :

Subject: Re: [boost] [c++11]
From: Bjorn Reese (breese_at_[hidden])
Date: 2013-06-18 05:03:25

On 06/18/2013 12:03 AM, Niall Douglas wrote:

> I don't understand how that makes std::vector<> or any other STL container
> suddenly magically start not copy constructing its contents on C++03
> compilers.

Other than trying to fall back to const references, there is no magic
there. But it does enable you to use rvalue references on C++11
compliant compilers, and revert to other mechanisms (e.g. const
references or copying) for older compilers.

Boost list run by bdawes at, gregod at, cpdaniel at, john at