D popularity

Namespace rswhite4 at googlemail.com
Mon Jan 21 12:56:54 PST 2013


> and on that note I hear the C++ community (at least one key 
> member) is proposing a:
>
>     auto add(auto a, auto b) {
>         return a + b;
>     }
>
> pretty-template syntax! I wouldn't feel right if C++ had 
> something that elegant and D did not *wink* *wink* :-)

Could you explain why this is necessary? D templates are far 
better than C++ templates and accomplish these task already.


More information about the Digitalmars-d mailing list