C++ pimpl

so so at so.so
Sun Jan 22 16:55:42 PST 2012


On Mon, 23 Jan 2012 02:49:39 +0200, Martin Nowak <dawg at dawgfoto.de> wrote:

> This will even work with plain new/this, as the allocation is done
> in the constructor. The difficulty is that you can't build inheritable  
> pimpls.

No, you can't define a struct without providing all the fields.
Inheritance has zero importance on this one. If you will use inheritance  
why would you need things like this in the first place?


More information about the Digitalmars-d mailing list