template specializiation

Thomas Neumann tneumann@users.sourceforge.net
Thu Jul 7 15:51:00 GMT 2005


Hi,


> If a template, a member template or the member of a class template is
> explicitly specialized then that specialization
> shall be declared before the first use of that specialization that
but how would I do this? For functions this is easy, but I don't think I 
can declare a static member variable without defining it at the same 
time. I tried some combinations (using extern etc.), but always got 
compiler errors.

Thomas



More information about the Gcc-help mailing list