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