Static ternary if

Gorge Jingale via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Jul 24 19:15:12 PDT 2016


Is there a static ternary if?

(A == B) ? C : D;

for compile type that works like static if.


More information about the Digitalmars-d-learn mailing list