[Bug c++/44548] Link error when defining templated static const variable

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jun 15 22:24:00 GMT 2010



------- Comment #3 from pinskia at gcc dot gnu dot org  2010-06-15 22:24 -------
> but it is an explicit specialization of the *definition* of the variable

No it is a specialization of the declaration.  There are only specialization of
declarations; never definitions.  Re-read the link you gave and you will see
the following: "Explicit specialization declaration syntax" .


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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



More information about the Gcc-bugs mailing list