...
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 (int0 != (err = funcf())) { // Handle error } } |
Risk Assessment
...