2. Design strategies
In this section, we analyze the consequences of using certain C++ concepts in the development and maintenance of object-oriented applications.
Members of a class belonging to a private domain can only be accessed by a member function of the same class or by functions outside the class, but specified friend by the class owner. This means that functions belonging to classes defined by inheritance will not have access to these private members.
When designing a class, we always have to think about the evolutions that might be necessary later on. Can we think of them all? How can we reconcile taking these evolutions into account, in general, through inheritance and the reprogramming of certain processes, with the fact that...
You do not have access to this resource.
Exclusive to subscribers. 97% yet to be discovered!
Already subscribed?
Log in!
Ongoing reading
Design strategies