c++: Fix noexcept with unevaluated operand [PR101087]