[Bug c++/51312] Wrong interpretation of converted constant expressions (for template arguments and enumerator initializers)
tsoae at mail dot ru
gcc-bugzilla@gcc.gnu.org
Sat Nov 26 17:32:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51312
--- Comment #2 from Nikolka <tsoae at mail dot ru> 2011-11-26 15:33:36 UTC ---
> For the first one, you should write X{} instead of X() which looks too much
like a function type.
I agree, that was my mistake.
More information about the Gcc-bugs
mailing list