keywords:const

C++ Reference

const

The const keyword can be used to tell the compiler that a certain variable should not be modified once it has been initialized. It can also be used to declare functions of a class that do not alter any class data.

Related Topics: const_cast, mutable