[Bug libstdc++/40925] c++0x std::pair constructor doesn't accept (0, 0)

2009-07-31 Thread richard-gccbugzilla at metafoo dot co dot uk
--- Comment #1 from richard-gccbugzilla at metafoo dot co dot uk 2009-07-31 15:26 --- Working draft N2914, 20.3.3 says: template struct pair { [...] requires CopyConstructible && CopyConstructible pair(const T1 &x, const T2 &y); ... and this is (modulo con

[Bug libstdc++/40925] New: c++0x std::pair constructor doesn't accept (0, 0)

2009-07-31 Thread richard-gccbugzilla at metafoo dot co dot uk
ot gnu dot org ReportedBy: richard-gccbugzilla at metafoo dot co dot uk http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40925

[Bug c++/36486] g++ accepts code with ambiguous overloading

2008-06-11 Thread richard-gccbugzilla at metafoo dot co dot uk
--- Comment #3 from richard-gccbugzilla at metafoo dot co dot uk 2008-06-11 12:58 --- I'm not 100% certain that g++ is at fault. Given that icc, Comeau and MS all reject it, I'm inclined to think that g++ is probably the one which gets this wrong, so I've raised this he

[Bug c++/36486] g++ accepts code with ambiguous overloading

2008-06-10 Thread richard-gccbugzilla at metafoo dot co dot uk
--- Comment #1 from richard-gccbugzilla at metafoo dot co dot uk 2008-06-10 14:51 --- FWIW, Microsoft's recent compilers agree that this is ill-formed also. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36486

[Bug c++/36486] New: g++ accepts code with ambiguous overloading

2008-06-10 Thread richard-gccbugzilla at metafoo dot co dot uk
ssigned at gcc dot gnu dot org ReportedBy: richard-gccbugzilla at metafoo dot co dot uk http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36486

[Bug c++/21560] #pragma(1) doesn't work on the inner classes inside the temlated class

2007-06-11 Thread richard-gccbugzilla at metafoo dot co dot uk
--- Comment #2 from richard-gccbugzilla at metafoo dot co dot uk 2007-06-11 18:11 --- Dup of 7046. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21560

[Bug c++/30300] Bogus diagnostic for anonymous structs/classes

2007-06-05 Thread richard-gccbugzilla at metafoo dot co dot uk
--- Comment #2 from richard-gccbugzilla at metafoo dot co dot uk 2007-06-05 17:21 --- Points worthy of note: 1) The OP's code is legal (to my reading of the standard) but meaningless. Private members in unnamed classes are legal, while private members in anonymous unions are no