Skip to content

Glossary: C++ Basics

Arrow operator

Also written: ->

The `->` operator reaches a member through a pointer: `p->name` means `(*p).name`. For a map iterator, `it->first` is the key and `it->second` the value.

Where the book teaches it

Related terms

PointerMemberIterator