Three Unlikely Successful Features of D

Walter Bright newshound2 at digitalmars.com
Wed Mar 21 10:24:08 PDT 2012


On 3/21/2012 1:01 AM, Nick Sabalausky wrote:
> Of course, to C++'s credit, its templates (AIUI) weren't really designed for
> metaprogramming, just for generics. The metaprogramming was just a happy
> accident (At least that's my understanding, maybe I'm wrong...)

You're correct. Metaprogramming was an emergent property of C++ templates, and 
was discovered, not designed.


More information about the Digitalmars-d mailing list