Boost logo

Boost :

Subject: Re: [boost] rvalue ref best practices?
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2012-06-13 09:00:36

On 12/06/2012 22:54, Peter Dimov wrote:
> Mathias Gaunard wrote:

>> foo(T const& t_) : t(t_) {}
> That, however, does a copy for rvalues, too.

Yes, the solution to optimize rvalues is to addd an rvalue reference
overload, but that's beside the point.

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