__traits(compiles , mixin ... )

SrMordred patric.dexheimer at gmail.com
Wed Oct 25 19:50:31 UTC 2017


> The semicolon there indicates it is a complete statement that 
> does nothing, and that's no error.

so why this line resolves to false?
void F(){}
pragma(msg, __traits( compiles, mixin("F();") ) );//false





More information about the Digitalmars-d-learn mailing list