Should modifying private members be @system?
snarwin at gmail.com
Thu Oct 17 18:53:29 UTC 2019
On Friday, 4 October 2019 at 11:55:11 UTC, Dennis wrote:
> I'm tossing the idea that __traits(getMembers) should be
> @system when it's bypassing visibility constraints of the
> member. What do you think?
A new post on the ACM SIGPLAN blog makes a convincing argument
that correct enforcement of data visibility constraints is
essential for allowing programmers to create safe interfaces
using unsafe language features:
More information about the Digitalmars-d