41 #ifndef __EST_BOOL_H__
42 #define __EST_BOOL_H__
44 #if defined(__GNUC__) || defined(SYSTEM_IS_WIN32)
85 BoolType(
int i) { p_val = i!=0;};
86 BoolType() { p_val = 1==0;};
88 operator int ()
const {
return p_val; };
90 BoolType operator == (BoolType b)
const {
return p_val == b.p_val;};
91 BoolType operator != (BoolType b)
const {
return p_val != b.p_val;};
95 #define true BoolType(1)
96 #define false BoolType(0)
97 #define TRUE BoolType(1)
98 #define FALSE BoolType(0)
105 #if __SUNPRO_CC_COMPAT != 5