Talk:cpp/utility/tuple/tuple-like
From cppreference.com
[edit] Request for clarification
As of C++23, all interfaces accept tuple-like objects redirect to this concept. Description of this page defines tuple-like types as 'if it is a specialization of standard library templates', which appears to reject user-defined tuple-like types. Is that what standard is proposing? Or it is just a miswording? (If so, it should be defined as 'types that implements tuple-protocol', and then enumerate standard library examples. i.e. swapping note section with the description.)
Yaossg (talk) 02:25, 20 September 2024 (PDT)
- Yup, tuple-like cannot be fulfilled by user-defined types anymore for whatever reason, see https://eel.is/c++draft/tuple.like --Ybab321 (talk) 16:00, 20 September 2024 (PDT)