This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/43368] [4.3/4.4/4.5 Regression] different access to templated structure static field give different results
- From: "redi 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 Mar 2010 12:22:00 -0000
- Subject: [Bug c++/43368] [4.3/4.4/4.5 Regression] different access to templated structure static field give different results
- References: <bug-43368-11205@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from redi at gcc dot gnu dot org 2010-03-15 12:22 -------
14.7.3 [temp.expl.spec] p6 says:
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 would cause
an implicit instantiation
to take place, in every translation unit in which such a use occurs; no
diagnostic is required.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43368