Template parameter deduction for constructors?

bearophile bearophileHUGS at lycos.com
Fri Apr 12 16:00:18 PDT 2013


This is one of the few C++14 core language proposals that seem 
interesting for D:

http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2013/n3602.html

The purpose of this idea is to avoid the helper functions that 
are currently used in D to build template structs/classes. Even 
if this feature is restricted to only a subset of all the 
templated structs/classes it seems useful to avoid some 
boilerplate code.

Is this idea adaptable to D?

Bye,
bearophile


More information about the Digitalmars-d mailing list