In article < om>,
vb739 <> wrote:
>Can something like this be done:
>
>enum ABC
>{
> A = "A",
> B = "B",
> C = "C"
>};
>
>, that is can a const string address be used as an enum value?
No. But you'll probably want to have a look here:
http://www.comeaucomputing.com/techtalk/#enumtostring
Sit down first.
--
Greg Comeau / 4.3.9 with C++0xisms now in beta!
Comeau C/C++ ONLINE ==>
http://www.comeaucomputing.com/tryitout
World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90.
Comeau C/C++ with Dinkumware's Libraries... Have you tried it?