...
Code Block | ||||
---|---|---|---|---|
| ||||
// library.h void func() noexcept(false); // Implemented by the library // library.cpp void func() noexcept(false) { // ... if (/* ... */) { throw 42; } } // application.cpp #include "library.h" void f() { try { func(); } catch(int &Ee) { // Handle error } } |
Implementation Details
...