[DGD] private inheritance

Raymond Jennings shentino at gmail.com
Fri Sep 4 00:21:08 CEST 2015


Blain:  Did you mean using privately inherited prototypes to target
functions from somewhere else?

On Thu, Aug 20, 2015 at 12:06 PM, Felix A. Croes <felix at dworkin.nl> wrote:

> 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
>
> ____________________________________________
> https://mail.dworkin.nl/mailman/listinfo/dgd



More information about the DGD mailing list