On 17-07-2012 10:56, Tommi wrote: > How would you go about retrieving the exact underlying type of enum? Try this: http://dlang.org/phobos/std_traits.html#OriginalType -- Alex Rønne Petersen alex at lycus.org http://lycus.org