Add isCopyConstructible to std.traits
Rene Zwanenburg
renezwanenburg at gmail.com
Tue Mar 18 09:27:59 PDT 2014
I need a template constraint to ensure a struct is not copyable.
While I found hasElaborateCopyConstructor* in std.traits, there
seems not to be something like isCopyConstructible. Shall I
create an enhancement request or did I miss something? Same
question for isDefaultConstructible.
* This site and TDPL both try to make a clear distinction between
C++'s copy constructor and D's postblit. Wouldn't
hasElaboratePostblit be a better name?
More information about the Digitalmars-d
mailing list