how to make private class member private

Tony tonytdominguez at aol.com
Sun Mar 18 18:59:39 UTC 2018


On Sunday, 18 March 2018 at 18:32:42 UTC, Jonathan M Davis wrote:

>
> They're similar, but there are differences. For instance, you 
> can do package(a) in D in order to do something like put the 
> stuff in a.b.c in package a rather than a.b.

Is there a known situation where it makes sense to put module c 
in directory/package b - rather than directory/package a, and 
then tell the D compiler to treat it like it was in 
directory/package a?


More information about the Digitalmars-d-learn mailing list