...
Code Block | ||||
---|---|---|---|---|
| ||||
// library.h int func() noexcept(true); // Implemented by the library // library.cpp int func() noexcept(true) { // ... if (/* ... */) { return 42; } // ... return 0; } // application.cpp #include "library.h" void f() { int err; if (0 !=int (err = ffunc())) { // Handle error } } |
Risk Assessment
...