A private member will only be accessible to functions that are members of that class and to functions and classes explicitly granted access permission by the class ("friends").
friend A;
friend A::foo();
Inheritance of operator.
int operator +(int, int);
Subscribe to:
Post Comments (Atom)


No comments:
Post a Comment