Page 361 Constant Member Functions
Example listing, under heading 'Constant Member Functions of a Class' is missing 'const' in the Volume() function.
i.e.
double Volume() const
{...
(Reason on page 362: 'A const member function cannot call a non-const member function of the same class, since this would potentially modify the object.')
|