"Who can access my private implementation?"
you can’t declare a new class and say, “Hi, I’m a friend of Bob!”
If a function is a friend, it means that it isn’t a member, but you want to give permission to modify private data anyway.
Road to my grill day ...
"Who can access my private implementation?"
you can’t declare a new class and say, “Hi, I’m a friend of Bob!”
If a function is a friend, it means that it isn’t a member, but you want to give permission to modify private data anyway.
No comments:
Post a Comment