assert.hpp

来自「最新delaunay 算法源代码」· HPP 代码 · 共 30 行

HPP
30
字号
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 + =
减小字号Ctrl + -
显示快捷键?