Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
In good member function design, avoid duplication in const and non-const member functions [1,2]. Instead, have the non-const member function call the const member function.
#include <vector> |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.