Am Sat, 25 Jan 2014 18:55:54 +0100
schrieb Artur Skawina <art.08...@gmail.com>:

> 
> Well, if you don't need names then just use the index directly.
> 
> Eg, see 'DiscUnion.type' in 
> 
> http://forum.dlang.org/thread/mtkzbwfgwsstndxbe...@forum.dlang.org#post-mailman.555.1377703234.1719.digitalmars-d-learn:40puremagic.com
> 
> (A newer compiler may allow for that offset-of calculation at CT)
> 
> artur

Thanks for all the answers, I guess I'll keep the string mixin.
I don't really need the names but I need the enum to support final
switch.

Reply via email to