Beta D 2.071.2-b3

David Nadlinger via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Fri Sep 2 03:29:41 PDT 2016


On Friday, 2 September 2016 at 08:57:14 UTC, Basile B. wrote:
> On Friday, 2 September 2016 at 08:15:53 UTC, ketmar wrote:
>> std.traits wrappers should use __traits to build *safe* things 
>> (declaring that @trusted in the end).
>
> This has nothing to do with memory safety.

Actually it does, albeit somewhat tangentially: Accessing private 
members from the outside must be @system since the @trusted 
implementation of a class might rely on nobody meddling with the 
private state.

  — David


More information about the Digitalmars-d-announce mailing list