Skip to content

Glossary: C++ Basics

Member function

Also written: method, methods

A function that belongs to a class or value and is called after a dot, such as `order.size()` or `decaf.add(8)`.

Where the book teaches it

Related terms

Classconst member functionthis