const_cast

C++ Reference

const_cast
Syntax:
  const_cast<type> (object);

The const_cast keyword can be used to remove the "const-ness" of some datum. The target data type must be the same as the source type, except (of course) that the target type doesn't have to be const.

Related topics: