
19 Dec
2004
19 Dec
'04
2:01 p.m.
Albeit this obviously does work with my compilers, I have to admit that I do not understand why. Can you please explain to me why template <typename T> T static_<T>::member; does not violate the ODR rule? If I do the very same with int aInt; in my header, the linker gives me a fatal "already defined" error. Thank you, Roland