This is the mail archive of the gcc-bugs@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]

[Bug c++/43368] [4.3/4.4/4.5 Regression] different access to templated structure static field give different results



------- 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


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