|
Boost : |
Subject: Re: [boost] rvalue ref best practices?
From: Nevin Liber (nevin_at_[hidden])
Date: 2012-06-13 16:43:11
On 13 June 2012 14:44, Gpderetta <gpderetta_at_[hidden]> wrote:
> You can have a thin template forwarding to a single externally compiled
> implementation using for example rvalue references for all parameters. The
> template would copy or move depending on the actual parameter type.
>
So we've moved from 1 function to 2N+1 functions. I also don't quite see
how this will work with member initializers, as I don't want to do
construct-then-assign.
-- Nevin ":-)" Liber <mailto:nevin_at_[hidden]> (847) 691-1404
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk