Skip to content

Glossary: C++ Beyond the Basics

Structured binding

Also written: structured bindings

Unpacking a pair or similar result into named variables, as in `auto [end, error] = std::from_chars(...)` or `for (const auto& [code, cents] : j.items())`.

Where the book teaches it

Related terms

std::from_chars