Given the following:
template class A { public: static const unsigned int ID = ?; };
I want ID to generate a unique c
Use the memory address of a static function.
template class A { public: static void ID() {} };
(&(A::ID)) will be different from (&(A::ID)) and so on.
(&(A::ID))