Unique IDs for each template instantiation at compile-time?

bearophile bearophileHUGS at lycos.com
Wed Dec 18 15:31:57 PST 2013


Weasel:

> I was wondering if it was possible to generate unique(in order) 
> IDs for each template instantiation of a class at compile-time.

I think you can't do this. (It's usually named gensym).

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list