1 2 3 4 5 6 7 8 9 10 11 12 13
void f() noexcept { } void g() noexcept(1) { } void h() noexcept(noexcept(f())) { } int main() { bool noExcept_hf = noexcept(h()) && noexcept(f()); }