assert.hh
来自「一个mips虚拟机非常好代码,使用C++来编写的,希望大家多学学,」· HH 代码 · 共 26 行
HH
26 行
#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 + =
减小字号Ctrl + -
显示快捷键?