关闭

exception in c++

983人阅读 评论(0) 收藏 举报

exception

class exception {
public:
    exception() throw();
    exception(const exception& rhs) throw();
    exception& operator=(const exception& rhs) throw();
    virtual ~exception() throw();
    virtual const char *what() const throw();
    };

The class serves as the base class for all exceptions thrown by certain expressions and by the Standard C++ library. The C string value returned by what() is left unspecified by the default constructor, but may be defined by the constructors for certain derived classes. None of the member functions throw any exceptions.

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:247823次
    • 积分:3057
    • 等级:
    • 排名:第11903名
    • 原创:39篇
    • 转载:63篇
    • 译文:0篇
    • 评论:42条
    文章分类
    最新评论