The Next Big Language
bearophile
bearophileHUGS at lycos.com
Mon Oct 18 15:55:22 PDT 2010
Jonathan M Davis:
> LOL. After using templates in D enough, C++ almost feelings like it doesn't have
> them (particularly since it lacks static ifs and template constraints).
enable_if works in C++:
http://www.boost.org/doc/libs/1_44_0/libs/utility/enable_if.html
See also:
http://www.boost.org/doc/libs/1_44_0/libs/concept_check/concept_check.htm
Bye,
bearophile
More information about the Digitalmars-d
mailing list