how to make private class member private

Jonathan M Davis newsgroup.d at jmdavisprog.com
Tue Mar 13 22:27:14 UTC 2018


On Tuesday, March 13, 2018 21:36:13 Arun Chandrasekaran via Digitalmars-d-
learn wrote:
> On Tuesday, 13 March 2018 at 13:59:00 UTC, Steven Schveighoffer
>
> wrote:
> > On 3/12/18 10:06 PM, psychoticRabbit wrote:
> >> [...]
> >
> > OK, so I agree there are drawbacks. But these can be worked
> > around.
> >
> > [...]
>
> Private members still have external linkage. Is there anyway to
> solve this?

No. There are some folks who want to change it so that you have to use
extern to have external linkage, but all of that is a work in progress and
would have to be approved by Walter.

- Jonathan M Davis



More information about the Digitalmars-d-learn mailing list