#include void f(std::string& s) noexcept { try { s = "x"; } catch (...) { // a comment is not handling } }