[Bug c++/71534] Initializing a static constexpr data member of a base class by using a static constexpr data member of a derived class should be an error
inadgob at yahoo dot com
gcc-bugzilla@gcc.gnu.org
Sat Jul 23 13:36:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71534
bogdan <inadgob at yahoo dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |inadgob at yahoo dot com
--- Comment #3 from bogdan <inadgob at yahoo dot com> ---
Following the adoption of P0386R2 into the working draft, the declaration of
bar is now a definition, because bar is an inline variable.
This makes GCC's behaviour standard-conforming in C++1z mode as far as I can
tell. However, I think a fix should still be applied to C++14 and 11 modes, in
the interest of portability.
More information about the Gcc-bugs
mailing list