Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
const_cast is a keyword to cast away constness.
Avoid casting constness away [1,3], except when using a non-const-correct API [1] or to avoid duplication in const and non-const member functions [1,2].
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.