adding properties/methods to AA's?

Jarrett Billingsley kb3ctd2 at yahoo.com
Mon Jul 23 04:59:51 PDT 2007


"Bill Baxter" <dnewsgroup at billbaxter.com> wrote in message 
news:f81g6k$o47$1 at digitalmars.com...

>   static import varchar; // has serialize for Variant[char[]]
>   static import intint; // has serialize for int[int[]]
>   intint.serialize(map);
>   varchar.serialize(map2);
>
> Or just give the functions different names to begin with.

Templates, man!  Templates and IFTI! 




More information about the Digitalmars-d-learn mailing list