------- Comment #4 from rguenth at gcc dot gnu dot org  2006-02-19 16:38 -------
You need to add an initializer to make

template <> int Data<V1>::Value;

a definition.  Otherwise it's just an explicit specialization decl.  Or
if you do not want to specialize for V1, use

template <V v> int Data<v>::Value;


-- 


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

Reply via email to