|
Boost : |
Subject: Re: [boost] rvalue ref best practices?
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2012-06-13 13:48:30
On 06/13/2012 04:12 PM, Peter Dimov wrote:
> Or 2^N overloads, if there's more than one argument to consume.
In which case, make your constructor a template so that all those
overloads get generated through template instantiation, making use of
the template type resolution mechanism specifically designed for perfect
forwarding.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk