Private variables accessible from outside class

Drobet a at b.c
Thu Aug 8 16:03:59 UTC 2019


On Thursday, 8 August 2019 at 15:53:13 UTC, Zoadian wrote:
>
> private means module private in D.
> see: https://dlang.org/spec/attribute.html#visibility_attributes

Then why does it in the tour say that it can only be "seen by 
Integer"?
https://tour.dlang.org/tour/en/basics/classes


More information about the Digitalmars-d-learn mailing list