Any chance to avoid monitor field in my class?

bearophile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed May 7 09:41:16 PDT 2014


Yuriy:

> Hello, is there a way of reducing size of an empty class to 
> just vtbl? I tried to declare it as extern(C++) which works, 
> but has a nasty side effect of limited mangling.

extern(C++) classes is only for interfacing with C++ code. It's 
not to write regular D code.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list