You are viewing a single comment's thread. Return to all comments →
class BadLengthException : public exception{ private : std::string size; public: BadLengthException() noexcept= default; ~BadLengthException() = default; BadLengthException(int n) : size{std::to_string(n)} {} virtual const char * what() const noexcept override{ return size.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 →