All Tuple and Pair Helpers
All Tuple and Pair Helpers
A compact index of pair and tuple construction, access, forwarding, concatenation, and apply-style helper facilities.
All Tuple and Pair Helpers
A compact index of pair and tuple construction, access, forwarding, concatenation, and apply-style helper facilities.
Use reference pages to confirm names, categories, nearby facilities, and the constraints that matter before writing or reviewing code.
std::pairstd::make_pairstd::piecewise_constructstd::tuplestd::make_tuplestd::forward_as_tuplestd::tiestd::tuple_catstd::applystd::ignorestd::get<I>std::get<T>std::tuple_sizestd::tuple_elementforward_as_tuple preserves value categories and should be used deliberately.int main() {
// Pick one facility from this reference page.
// Write the smallest program that exercises its main precondition,
// complexity rule, or lifetime constraint before scaling up.
return 0;
}