Like the above, but declared via the helper function
| 70 | |
| 71 | // Like the above, but declared via the helper function |
| 72 | class MyException5 : public std::logic_error { |
| 73 | public: |
| 74 | explicit MyException5(const std::string &what) : std::logic_error(what) {} |
| 75 | }; |
| 76 | |
| 77 | // Inherits from MyException5 |
| 78 | class MyException5_1 : public MyException5 { |
no outgoing calls