📄 assert.hpp
字号:
namespace tpp {/*! \file assert.hpp \brief Implements a better 'Assert' */#ifndef REVIVER_ASSERT_HPP#define REVIVER_ASSERT_HPP/*! \def MyAssertFunction \brief Function used by 'Assert' function in _DEBUG mode. Details.*/extern bool MyAssertFunction( bool b, char* desc, int line, char* file);#if defined( _DEBUG )#define Assert( exp, description ) MyAssertFunction( (int)(exp), description, __LINE__, __FILE__ )#else#define Assert( exp, description )#endif#endif}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -