[Bug c++/51312] Wrong interpretation of converted constant expressions (for template arguments and enumerator initializers)

marc.glisse at normalesup dot org gcc-bugzilla@gcc.gnu.org
Sat Nov 26 15:33:00 GMT 2011


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

Marc Glisse <marc.glisse at normalesup dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marc.glisse at normalesup
                   |                            |dot org

--- Comment #1 from Marc Glisse <marc.glisse at normalesup dot org> 2011-11-26 15:15:34 UTC ---
For the first one, you should write X{} instead of X() which looks too much
like a function type. The second one is more surprising.



More information about the Gcc-bugs mailing list