How do I explicitly call an exception-throwing method in C++? – stackoverflow.com

I have a simple class: class A { public: bool f(int* status = nullptr) noexcept { if (status) *status = 1; return true; } void f() { throw std::make_pair<int, bool>(1, true); ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "How do I explicitly call an exception-throwing method in C++? – stackoverflow.com"