class system_error: public std::runtime_error
{
private:
- int code_;
+ int m_code;
public:
system_error(const std::string &, int = -1);
system_error(const std::string &, const std::string &);
- virtual ~system_error() throw() { }
- int code() const throw() { return code_; }
+ int code() const noexcept { return m_code; }
private:
static std::string get_message(int);