⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 check.hpp

📁 一个实现C++反射机制的类库
💻 HPP
字号:
/******************************************************************************\*                                                                              **   @.h                                                                        **                                                                              **   <Purpose of this file>                                                     **                                                                              *\******************************************************************************/// $Id: check.hpp,v 1.1 2007/10/25 14:05:27 tdevadit Exp $#ifndef REFLCPP_CHECK_H#define REFLCPP_CHECK_Hnamespace reflcpp {extern void checkFail(const char *t, const char *, const char *, int);// Always defined.  Use this for assertions that won't be very expensive.#define ixcr_check(e)                                                           \    (void) ((e) || (reflcpp::checkFail("Check", #e, __FILE__, __LINE__), 0))// Use this for assertions only in IXCR_DEBUG versions.#ifdef IXCR_DEBUG    #define ixcr_assert(e)                                                      \	(void) ((e) || (reflcpp::checkFail("Assertion", #e, __FILE__, __LINE__), 0))#else    #define ixcr_assert(e)    ((void) 0)#endifstatic const char check_hpp_id[] ="$Id: check.hpp,v 1.1 2007/10/25 14:05:27 tdevadit Exp $";}#endif

⌨️ 快捷键说明

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