Location:
e32def.h
Link against:
typedef int TBool;
Supported from 5.0
Boolean type which takes the value either ETrue
or
EFalse
.
Although only a single bit would theoretically be necessary to
represent a Boolean, a machine word is used instead, so that these quantities
can be easily passed. Also, TBool
must map onto int
because of C++’s interpretation of operands in conditional
expressions.
On EPOC implementations in which the compiler supports the
ANSI-recommended bool
type, TBool
will be
typedef’ed to bool
instead of
int
.