This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/44548] Link error when defining templated static const variable
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jun 2010 22:24:43 -0000
- Subject: [Bug c++/44548] Link error when defining templated static const variable
- References: <bug-44548-19329@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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