Conditional Templates

Christian Kamm kamm at nospam.de
Mon Jan 29 01:04:03 PST 2007


> I did note that the docs say you can't use templates to add non-static
> class members, but I tried and it works fine; so I don't know if the docs
> are wrong, I'm wrong or DMD is wrong.

It seems as if you can add non-static template member functions but not  
variables:
http://d.puremagic.com/issues/show_bug.cgi?id=566

Christian


More information about the Digitalmars-d-learn mailing list