Getting the underlying type of enum?

Alex Rønne Petersen alex at lycus.org
Tue Jul 17 06:16:22 PDT 2012


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




More information about the Digitalmars-d-learn mailing list