This book teaches object-oriented analysis and design from first principles and clearly explains C++ mechanisms that implement object-oriented concepts.To further propagate immutability, when returning a data member by pointer or reference from a const member function, the return must be a const pointer or reference; the compiler enforces the constraint. For example, above Stack: :top() anbsp;...
|Title||:||Inside the Object Model|
|Author||:||David M. Papurt|
|Publisher||:||Cambridge University Press - 1995|