📄 assert.hh
字号:
#ifndef assert_hh_included#define assert_hh_included#include <assert.h>// Some simple assertion support. The intent is to call assert() with// assert(TODO) or assert(UNREACHABLE) instead of just assert(0), to make the// assertion message meaningful.#define TODO 0#define UNREACHABLE 0// A simple printf-debugging macro ;)#ifdef NDEBUG# define dump SYNTAX_ERROR#else# include <stdio.h># define dump printf#endif#endif // assert_hh_included
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -