What are the advantages of using friend classes?
Page 1 of 1
What are the advantages of using friend classes?
- Friend classes are useful when a class wants to hide features from users which are needed only by another, tightly coupled class.
- Implementation details can be kept safe by providing friend status to a tightly cohesive class.
Similar topics
» What are friend classes? What are advantages of using friend classes?
» What is friend class in C++?
» What are the C++ standardized container classes?
» Define storage classes in C++.
» What are the advantages of inheritance?
» What is friend class in C++?
» What are the C++ standardized container classes?
» Define storage classes in C++.
» What are the advantages of inheritance?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|