Skip to content

Glossary: C++ Basics

const member function

Also written: const function

A member function marked `const` that promises not to change the object, as in `int count() const`. Only these can be called on a `const` object.

Where the book teaches it

Related terms

Member functionconst