`restricted` member variables

forkit forkit at gmail.com
Thu Jun 23 01:19:11 UTC 2022


On Thursday, 23 June 2022 at 01:13:22 UTC, forkit wrote:
>
> ...
> In D, the `invariant` feature allows you to maintain the 
> invariants of any class from within the class.
> ..

On re-reading that part again, I'm confused as to what it means.

What is this 'invariant' feature you mention?


More information about the Digitalmars-d mailing list