| 45 | class MyException3 { |
| 46 | public: |
| 47 | explicit MyException3(const char *m) : message{m} {} |
| 48 | virtual const char *what() const noexcept { return message.c_str(); } |
| 49 | // Rule of 5 BEGIN: to preempt compiler warnings. |
| 50 | MyException3(const MyException3 &) = default; |
nothing calls this directly
no outgoing calls
no test coverage detected