Template classes

bearophile bearophileHUGS at lycos.com
Wed Apr 15 12:02:25 PDT 2009


Jarrett Billingsley:
> Though actually I'm not sure why bearophile suggested this,

The original poster seems to want to add some methods to a standard array. With this you can give another module something that acts like an array that also has such methods, or replaces them. With the old way you also need to import the free functions into the other module...

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list