[Bug c++/58885] Template static variable linking issue!

vehbi.esref.bayraktar at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Oct 26 20:19:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58885

--- Comment #4 from Vehbi Esref Bayraktar <vehbi.esref.bayraktar at gmail dot com> ---
So why doesn't it compile as is
CGEnum<int, Test_Enum>::instances_list CGEnum<int, Test_Enum>::msInstances;

and asks for a specialization notation (template<>)?

Thanks



More information about the Gcc-bugs mailing list