[DGD] private inheritance

Felix A. Croes felix at dworkin.nl
Thu Aug 20 21:06:56 CEST 2015


Blain <blain20 at gmail.com> wrote:

> Felix:  When I privately inherit a file that just has prototypes for
> sibling inheritables, the functions can't use them to target functions in
> the other inheritables.  Is this normal?

I'm not sure which functions you mean by "the functions", but privately
inheriting prototypes makes the prototypes private in the inheriting
context.  They will not be seen, and thus will not be resolved, beyond
that context.  That's intended behaviour.

Regards,
Felix Croes




More information about the DGD mailing list