------- Comment #3 from pinskia at gcc dot gnu dot org  2007-10-13 08:54 -------
(In reply to comment #2)
> I vote for this to be fixed in GCC, especially since the standard is unclear.
> The compiler has the knowledge 'pair' is a template class. MS C++ accepts the
> syntax and does not violate any standards by doing so.

Actually the standard says this is invalid, just it was not the intention of
committee that is to be invalid which is why there is defect report against the
C++ standard.


-- 


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

Reply via email to