exception

来自「GCC编译器源代码」· 代码 · 共 43 行

TXT
43
字号
// Exception Handling support header for -*- C++ -*-// Copyright (C) 1995, 1996 Free Software Foundation#ifndef __EXCEPTION__#define __EXCEPTION__#pragma interface "exception"extern "C++" {#if 0namespace std {#endifclass exception {public:  exception () { }  virtual ~exception () { }  virtual const char* what () const;};class bad_exception : public exception {public:  bad_exception () { }  virtual ~bad_exception () { }};typedef void (*terminate_handler) ();typedef void (*unexpected_handler) ();terminate_handler set_terminate (terminate_handler);void terminate (void);unexpected_handler set_unexpected (unexpected_handler);void unexpected (void);bool uncaught_exception ();} // extern "C++"#if 0} // namespace std#endif#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?