Template classes
Arild Boes
aboesx at gmail.com
Wed Apr 15 09:13:58 PDT 2009
bearophile skrev:
> 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
Please elaborate on this. How does one do that?
/ab
More information about the Digitalmars-d-learn
mailing list