このページを編集する際は、編集に関する方針に従ってください。

概要

/*

*	TrapMacro is the same as Trap but it's intended for use in macros:
*
*		#define foo(x) (AssertMacro(x != 0) && bar(x))
*
*	Isn't CPP fun?
*/

引数

実装

#define TrapMacro(condition, errorType) \

	((bool) ((! assert_enabled) || ! (condition) || \
			 (ExceptionalCondition(CppAsString(condition), (errorType), \
								   __FILE__, __LINE__))))

呼出元

履歴

コメント



トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS