You are viewing a single comment's thread. Return to all comments →
class BadLengthException : public exception { private: string message; public: explicit BadLengthException(int n) : message(to_string(n)) {} const char* what() const noexcept override { return message.c_str(); } };
Seems like cookies are disabled on this browser, please enable them to open this website
Inherited Code
You are viewing a single comment's thread. Return to all comments →