Discussion Thread: DIP 1035-- at system Variables--Community Review Round 2

Nick Treleaven nick at geany.org
Fri Feb 26 18:29:26 UTC 2021

On Friday, 26 February 2021 at 09:49:40 UTC, Walter Bright wrote:
> > Example: User-Defined Slice
> Since ptr and length are private, they are only accessible to 
> member functions of IntSlice.

Er, doesn't private mean module access? This DIP would help 
verify long modules that might inadvertently access unsafe fields 
from outside the struct definition, at least in @safe code.

More information about the Digitalmars-d mailing list