Skip to content

Glossary: Coding Interviews in C++

auto

A C++ keyword that lets the compiler work out a variable's type from its initial value. It is handy with structured bindings such as `auto [gap, first, second] = ...` and for long type names.

Where the book teaches it

Related terms

Structured binding