Skip to content

Glossary: Coding Interviews in C++

Structured binding

Also written: auto [a, b], structured bindings

Syntax like `auto [product, channel, price] = order;` that unpacks a pair or tuple into named variables.

Where the book teaches it

Related terms

std::tuplestd::pairauto