excdef.h

来自「C++封装的视频采集代码」· C头文件 代码 · 共 24 行

H
24
字号
#ifndef INC_EXCDEF_H#define INC_EXCDEF_H#include "assert.h"#ifdef OXSEMI_NO_EXCEPTIONS // remove exception code#define THROW_SPEC(x)#define THROW(x) #define CATCH(X) if (false)#define TRY      if (true)#define EX_ONLY(x)#else // Include exception support#define EX_ONLY(x) x    // a way of avoiding access to non-existent                         // references in a removed catch clause#define TRY      try#define THROW_SPEC(x) throw x#define THROW(x) throw x#define CATCH(x) catch(x)#endif // OXSEMI_NO_EXCEPTIONS#endif // INC_EXCDEF_H

⌨️ 快捷键说明

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