Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2007-06-15 15:01:36


Tobias Schwinger wrote:
> Peter Dimov wrote:

...

>> Why is there a need to detect a default constructor?
>
> (I probably snipped away too much context...)
>
> A generic function object that constructs an arbitrary type would have
> to know (unless having variadic templates, or being able to define
> operator() as a nonmember function template).

Umm. Why?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk