> 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