C与C++中的异常处理17[11]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 taodm 的 blog

    {

public:

   structured_exception(exception_pointers const &) throw();

   static void install() throw();

   virtual char const *what() const throw();

   void const *where() const throw();

private:

   void const *address_;

   //unsigned code_;

   };

 

class access_violation : public structured_exception

   {

public:

   access_violation(exception_pointers const &) throw();

   virtual char const *what() const throw();

   };

 

class divide_by_zero : public structured_exception

   {

public:

   divide_by_zero(exception_pointers const &) throw();

本文关键:异常
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top