------- Comment #3 from jwakely dot gcc at gmail dot com 2009-06-15 09:19 ------- (In reply to comment #0) > I can't use "template<> A B<int>::a = something;" form (which would help) > because I have only empty ctor (like in the case of map).
I'm not sure what you mean but this works fine: template<> A B<int>::a = A(); -- jwakely dot gcc at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jwakely dot gcc at gmail dot | |com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32534