I want to be able to do something like this:
enum a = 32
enum b = { q,w,e,r,t,y }CtType ctype = getCtType!(a); // -> Would become CtType.enumConstant
CtType ctype1 = getCtType!(b); // -> Would become CtType.enum_
TheFlyingFiddle via Digitalmars-d-learn Fri, 30 Oct 2015 04:51:14 -0700
I want to be able to do something like this:
enum a = 32
enum b = { q,w,e,r,t,y }CtType ctype = getCtType!(a); // -> Would become CtType.enumConstant
CtType ctype1 = getCtType!(b); // -> Would become CtType.enum_