Template classes

bearophile bearophileHUGS at lycos.com
Tue Apr 14 21:51:17 PDT 2009


Andrew Spott:
> yes, however there are going to be a few new classes that will be implemented in this (dot products, cross products, etc)

You mean a few new methods.

Take a look at the 'this' of D2, it allows to create wrapper structs, so you can just add methods to the built-in arrays.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list