file name: bool.hpp, bool.cpp
classification: simulation
contents: enum EBool, some operators for it
use: provide a boolean type
global items used:
#define EBool
int
#define
True 1
#define
False 0
Otherwise, they are defined as:
enum EBool:
True (1), False (0)
operators:
EBool&
operator|= (EBool& result, EBool const & operand): Implements
A |= B. Returns True if at least one of A, B is True,
False if both are False. A is set to the return value.
EBool&
operator&= (EBool& result, EBool const & operand): Implements
A &= B. Returns True if both A and B are True, False
if one of them is False. A is set to the return value.