[Bug c++/53627] perfect forwarding for static int member
daniel.kruegler at googlemail dot com
gcc-bugzilla@gcc.gnu.org
Sun Jun 10 21:23:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53627
Daniel Krügler <daniel.kruegler at googlemail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |daniel.kruegler at
| |googlemail dot com
--- Comment #4 from Daniel Krügler <daniel.kruegler at googlemail dot com> 2012-06-10 21:23:05 UTC ---
(In reply to comment #2)
> This is exactly:
>
> http://gcc.gnu.org/wiki/VerboseDiagnostics#missing_static_const_definition
I agree. But let me just add that the first of the examples provided there
("return argc > 1 ? S::a : S::b;") should no longer me listed (or be modified),
because that was fixed with C++11 due to
http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#712
This situation should no longer require a definition for S::a or S::b.
More information about the Gcc-bugs
mailing list