A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.cppreference.com/w/cpp/language/../keyword/../utility/tuple/tuple-like.html below:

tuple-like, pair-like - cppreference.com

template< class T >
concept tuple-like = /* see below */;

(1) (since C++23)
(exposition only*) (2) (since C++23)
(exposition only*)

2) pair-like objects are tuple-like objects with exactly 2 elements.

[edit] Notes

tuple-like types implement the tuple protocol, i.e., such types can be used with std::get, std::tuple_element and std::tuple_size.

Elements of tuple-like types can be bound with structured binding.

[edit] See also

tuple-like and pair-like are used in the following standard library components:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4