Extending D's support for object-oriented design with private(this)
NotYouAgain
NotYouAgain at gmail.com
Fri Apr 26 07:41:37 UTC 2024
On Thursday, 25 April 2024 at 13:35:29 UTC, Nick Treleaven wrote:
> It should say whether __traits(getMember), allMembers and
> .tupleof can access private(this) members.
>
> private(this) maybe should be the default for synchronized
> classes.
>
Does that mean, that 'private(this)' would solve:
https://issues.dlang.org/show_bug.cgi?id=23158
More information about the dip.ideas
mailing list