MCPcopy Create free account
hub / github.com/Apress/beginning-cpp20 / what

Method what

Examples/NoModules/Chapter 16/Ex16_04/Troubles.h:15–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13 virtual ~Trouble() = default; // Base classes must have a virtual destructor!
14
15 virtual std::string_view what() const { return m_message; }
16private:
17 std::string m_message;
18};

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected