private with module name support

Newbie2019 newbie2019 at gmail.com
Fri Aug 9 03:11:22 UTC 2019


On Friday, 9 August 2019 at 01:40:01 UTC, 12345swordy wrote:
> Are you trying to implement the functionality as if it were C? 
> Look into .di files.

di file will not solve the problem,  and in most case the public 
interface(or api) and implement part in same package, use di make 
no sense.

This new feature allow to split complex source code from one file 
into multi, without losing the type protection from outside.






More information about the Digitalmars-d mailing list