`noexcept` behavior of `constexpr` functions
问题 The wording of [expr.unary.noexcept] changed in C++17 (edited following a comment by @L.F.: C++20 ) . Previously (n4140, 5.3.7 noexcept operator [expr.unary.noexcept]), my emphasis : The result of the noexcept operator is false if in a potentially-evaluated context the expression would contain (3.1) a potentially-evaluated call to a function, member function, function pointer, or member function pointer that does not have a non-throwing exception-specification ([except.spec]), unless the call