MCPcopy Create free account
hub / github.com/pybind/pybind11 / MyException3

Method MyException3

tests/test_exceptions.cpp:47–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45class MyException3 {
46public:
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;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected