j
k
j a
j l
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.
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.
Back to the thread
Back to the list