public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/38064]  New: [c++0x] operator== doesn't work for enum classes
@ 2008-11-09  4:04 rbuergel at web dot de
  2008-11-09  4:12 ` [Bug c++/38064] " rbuergel at web dot de
                   ` (18 more replies)
  0 siblings, 19 replies; 21+ messages in thread
From: rbuergel at web dot de @ 2008-11-09  4:04 UTC (permalink / raw)
  To: gcc-bugs

enum class E { elem };

int main()
{
        E e = E::elem;
        if (e == E::elem);
        return 1;
}
g++ -std=c++0x tc1.cpp
tc1.cpp: In function 'int main()':
tc1.cpp:6: error: invalid operands of types 'E' and 'E' to binary 'operator=='


-- 
           Summary: [c++0x] operator== doesn't work for enum classes
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rbuergel at web dot de


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


^ permalink raw reply	[flat|nested] 21+ messages in thread
[parent not found: <bug-38064-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2014-02-16 10:02 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-09  4:04 [Bug c++/38064] New: [c++0x] operator== doesn't work for enum classes rbuergel at web dot de
2008-11-09  4:12 ` [Bug c++/38064] " rbuergel at web dot de
2008-11-09  4:23 ` rbuergel at web dot de
2009-01-26 10:48 ` piotr dot wyderski at gmail dot com
2009-05-18 22:12 ` paolo dot carlini at oracle dot com
2009-05-25 15:15 ` steven at gcc dot gnu dot org
2009-05-25 16:12 ` paolo dot carlini at oracle dot com
2009-05-25 16:45 ` jason at gcc dot gnu dot org
2009-05-25 18:32 ` ian at airs dot com
2009-05-25 23:01 ` jason at gcc dot gnu dot org
2009-05-25 23:07 ` jason at gcc dot gnu dot org
2009-05-25 23:12 ` jason at gcc dot gnu dot org
2009-08-10 21:38 ` pinskia at gcc dot gnu dot org
2009-08-10 21:38 ` pinskia at gcc dot gnu dot org
2010-04-26 11:23 ` redi at gcc dot gnu dot org
2010-04-26 17:50 ` pinskia at gcc dot gnu dot org
2010-04-26 23:07 ` redi at gcc dot gnu dot org
2010-05-04 19:01 ` jason at gcc dot gnu dot org
2010-05-04 19:03 ` jason at gcc dot gnu dot org
2010-05-04 19:04 ` jason at gcc dot gnu dot org
     [not found] <bug-38064-4@http.gcc.gnu.org/bugzilla/>
2014-02-16 10:02 ` jackie.rosen at hushmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).