Comparison chart of D and C++ templates

Jarrett Billingsley kb3ctd2 at yahoo.com
Fri Jan 19 05:41:40 PST 2007


"Walter Bright" <newshound at digitalmars.com> wrote in message 
news:eoq501$1380$1 at digitaldaemon.com...
> http://www.digitalmars.com/d/template-comparison.html
>
> Comments?

In the "Pointer parameters" row, you might also want to add "delegates" to 
the D column, and make some mention of that ability in the "Pointer to 
member parameters" row (i.e. "No, D doesn't have pointers to parameters, it 
has delegates instead").

This table also makes some things clear that would be nice to have in D. 
The ones that jump out at me are templated constructors and overloading 
templated functions with other functions. 





More information about the Digitalmars-d-announce mailing list