On Friday, 30 October 2015 at 11:46:43 UTC, TheFlyingFiddle wrote:
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.enumConstantCtType ctype1 = getCtType!(b); // -> Would become CtType.enum_
Never mind if found out how: pragma(msg, is(b == enum)); //True pragma(msg, is(a == enum)); //False.