
15 Jun
2007
15 Jun
'07
7:01 p.m.
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?