
13 Jun
2012
13 Jun
'12
5:48 p.m.
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.