return a value from a const function code example Example: function return const int getValue() const { return value; }