[Bug c/97265] new warning with clang build
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Oct 1 11:52:20 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97265
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2020-10-01
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Yes, your suggested change is correct, making the code mean the same thing in
both C++11 and C++14. It also makes the function more consistent whether
CONSTEXPR expands to constexpr or not.
More information about the Gcc-bugs
mailing list