Incomplete types question

bearophile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jul 7 23:41:29 PDT 2014


NoUseForAName:

> In C my favorite way of achieving encapsulation is to use 
> incomplete types. The module header contains the definition of 
> an incomplete type and the prototypes for the public functions 
> which operate on it.

Probably in D you can archive something similar with different 
means.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list