c++/8042: g++ rejects legal code wrt "expression" templates.

reichelt@igpm.rwth-aachen.de reichelt@igpm.rwth-aachen.de
Sun Oct 27 06:45:00 GMT 2002


Synopsis: g++ rejects legal code wrt "expression" templates.

State-Changed-From-To: open->closed
State-Changed-By: reichelt
State-Changed-When: Sun Oct 27 06:45:24 2002
State-Changed-Why:
    GCC is right. Your code is actually buggy.
    BTW, Intel's compiler also rejects your code if you
    specify the "-Xc" option to make it more picky.
    Comeau's compiler also rejects the code.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8042



More information about the Gcc-bugs mailing list