A collection of DIPs

via Digitalmars-d digitalmars-d at puremagic.com
Wed Sep 9 03:00:08 PDT 2015


On Wednesday, 9 September 2015 at 06:13:59 UTC, Dominikus Dittes 
Scherkl wrote:
> IMHO "friend" is a misconception, that is only there to 
> compensate for the lack of modules in C++.

It can be useful. Say you have a database engine module and an 
ORM module, you might want to give the ORM special privileges to 
certain parts of the database engine, but shield it from the rest 
of the program.



More information about the Digitalmars-d mailing list