[Bug c++/115772] [14/15 Regression] static_assert incorrectly accept constexpr member function with non-constexpr this

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jul 3 14:27:30 GMT 2024


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

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2280r4.html
change was approved by the C++ committee as a defect report for older
standards, so this change is expected to apply to C++17. So not a bug.


More information about the Gcc-bugs mailing list