Adding Modules to C in 10 Lines of Code

claptrap clap at trap.com
Mon Jun 6 08:09:07 UTC 2022


On Monday, 6 June 2022 at 03:17:34 UTC, forkit wrote:
> On Monday, 6 June 2022 at 00:19:16 UTC, zjh wrote:
>> On Sunday, 5 June 2022 at 22:41:41 UTC, Walter Bright wrote:
>>
>>
> But yes, as far as i know, D is the first to do this - i.e. 
> turn the class into a pseudo type, that cannot have 
> encapsulation unless it is put into a super type (the module), 
> all by its self (with no friends).


Delphi / Object Pascal had the same visibility as D, private only 
meant private to the module.


More information about the Digitalmars-d-announce mailing list