On 1/27/12, Daniel Murphy <yebbl...@nospamgmail.com> wrote: > (could be mixin(exposeEnumMembers!UITableViewRowAnimation); )
I don't think that's possible without passing the name of the enum. Once you pass the type to the "expose" template it won't know the enum is named "UITableViewRowAnimation". You /could/ use typeid() to get the mangled name and try to demangle that, but lo' and behold core.demangle doesn't work at compile-time. :/