C++ · Structs and classes

const member functions

Functions often take objects by const reference, and only member functions marked const can be called through one.