Skip to content

[libc++] P2165R4: Update <tuple> for interoperability between tuple and tuple-like types #135348

Open
@frederick-vs-ja

Description

@frederick-vs-ja

Link: https://wg21.link/P2165R4

Changes to be done:

  • Update basic_common_reference and common_type specializations.
  • Constrain tuple_cat, apply, and make_from_tuple.
    • Note that there are already some similar extensions in tuple_cat, and perhaps we want to implement the standard forms in C++23.
  • Add new constructors and assignment operators to tuple.
  • Add new comparison operators to tuple.
    • Note that the new comparison operators are hidden friends, while the old ones are not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    c++23libc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions