[Bug c++/105491] Usage of __constinit with -std=c++11 does is rejected

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 5 11:55:11 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105491

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The constexpr rules in C++11 are much stricter, this is probably user error
(i.e. C++20 constinit can't be used here).


More information about the Gcc-bugs mailing list