This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: template specializiation


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]