CTFE & enums & static assert

Robert M. Münch via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue May 5 06:58:33 PDT 2015


On 2015-05-04 22:22:51 +0000, ketmar said:

> as i said, `typeid` is runtime feature, so you can't print it with pragma.
> and tuples aren't exist in runtime, it's compile-time only.
> 
> 
> i think you are even more confused now. ;-) sorry.

No, that makes it much more clearer for me. The compiler should print 
it: "No type. typeid() is run-time only."

And everything would be clear.

-- 
Robert M. Münch
http://www.saphirion.com
smarter | better | faster



More information about the Digitalmars-d-learn mailing list