Structured bindings (C++20)
Customization-point lookup relaxed, accessible members, static/thread_local bindings, capture by reference.
Connected features
Papers
4 · Jacksonville 2018 → Kona 2019Relaxes the structured-bindings customization point lookup rules.
Allows structured bindings to accessible (not just public) members.
Allows static, thread_local and other specifiers on structured bindings.
Allows structured bindings to be captured by reference in lambdas.