C99以降のC標準ライブラリヘッダstdbool.hでは、マクロbool
, true
, false
が定義済みであることを表すマクロ__bool_true_false_are_defined
を定義する。
どうでもいいメモ:C99までで一番長い識別子名?
N1256 7.16/p1-3より引用。
1 The header
<stdbool.h>
defines four macros.
2 The macro
bool
expands to_Bool
.
3 The remaining three macros are suitable for use in#if
preprocessing directives. They are
true
which expands to the integer constant 1,
false
which expands to the integer constant 0, and
__bool_true_false_are_defined
which expands to the integer constant 1.