assert in unittest has access to private member?

XavierAP n3minis-git at yahoo.es
Sun Jun 30 20:07:52 UTC 2019


On Sunday, 30 June 2019 at 17:24:03 UTC, Robert M. Münch wrote:
> I have a case, with templates, where an assert in a unittest 
> can access a private memember and I don't know how this can 
> happen.

Modules are the units of encapsulation in D:

https://dlang.org/spec/attribute.html#visibility_attributes


More information about the Digitalmars-d-learn mailing list