On 1/28/12, Andrej Mitrovic <andrej.mitrovich at gmail.com> wrote: > I don't think that's possible without passing the name of the enum. Nevermind, I was wrong. It appears typeid() returns a mangled name only when used in a *pragma* call, otherwise you do get the proper name.