Michael Gerz <[EMAIL PROTECTED]> writes: > After having introduced the enum in the last two hours, I finally come > to the conclusion that a simple bool type is more suitable than an enum > type for which C++ does not provide any type-safety. There are just two > values, on and off. That's what bool is made for
That's not true. The enum is perfectly type safe and is self-documenting, something the enum isn't. Indeed, I'm pretty sure that one of those C++ gurus (Meyers, Sutter, etc) recommends the use of enum over bool... Angus