Are straightforward user defined enumerated data types permissible in
gcc/g++.
For example if I wished to declare:
enum boolean {true, false};
so that I can use the defined data type "boolean", as a return type for
overloaded operator function of a class. Upon trying to accomplish this
the compiler generates a series of obscure errors, parse errors, etc.
If such syntax is not permissible then, is there an acceptable means of
applying an user defined enumerated type in C++ under gcc/g++ ??
/Thanks..
/John
--
email: [EMAIL PROTECTED]
Local mailserver , remote
.