------- Comment #2 from redi at gcc dot gnu dot org  2009-12-08 23:54 -------
[temp.class.spec]/1
"A partial specialization shall be declared before the first use of a
class template specialization that would make use of the partial specialization
as the result of an implicit or explicit instantiation in every translation
unit in which such a use occurs; no diagnostic is required."

So this is definitely not a bug, but a warning here might be a nice
improvement.


-- 

redi at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement


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

Reply via email to