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