How I can determine this is class or struct at compile time?

BCS ao at pathlink.com
Fri Dec 26 23:14:29 PST 2008


Reply to Weed,

> subj
> 

is(typeof(*this))?"struct":"class"; // untested




More information about the Digitalmars-d-learn mailing list