Comparison chart of D and C++ templates

Walter Bright newshound at digitalmars.com
Fri Jan 19 12:08:22 PST 2007


Jarrett Billingsley wrote:
> 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").

Good call.

> 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. 

Templated constructors, yes, but the overloading thing is unnecessary 
and makes things more complicated than needed.



More information about the Digitalmars-d-announce mailing list