macros: type save, or what?

Jarrett Billingsley kb3ctd2 at yahoo.com
Tue Sep 11 15:01:34 PDT 2007


"0ffh" <spam at frankhirsch.net> wrote in message 
news:fc6oog$8ll$1 at digitalmars.com...

>   static if (typeof(a).stringof=="int")

OT: I really hope you haven't been using this idiom in your code.  Just do 
"is(typeof(a) == int)". 





More information about the Digitalmars-d mailing list