Template parameter deduction for constructors?
David Nadlinger
see at klickverbot.at
Sat Apr 13 08:52:00 PDT 2013
On Saturday, 13 April 2013 at 08:40:15 UTC, Peter Alexander wrote:
> This just seems like a bandaid solution to the problem. If it
> works in this case then beginners will think it works in every
> case, and will be even more confused when it stops working.
When would it stop working? You might want to add any such
example to http://d.puremagic.com/issues/show_bug.cgi?id=6082.
> Simple with minor inconvenience is better than complex in my
> opinion.
The complexity is already there, in the form of (free) ITFI
functions.
David
More information about the Digitalmars-d
mailing list