Friend class and methods

Maxime Chevalier-Boisvert maximechevalierb at gmail.com
Wed Jun 12 12:01:22 PDT 2013


Does D have something like the concept of friend classes and 
functions in C++? I'd like to have a function that can access 
private members of two classes at the same time.


More information about the Digitalmars-d-learn mailing list