Skip to content

[containers] Where are cont-key-type/cont-mapped-type used? LWG3781 #5798

Open
@hewillk

Description

@hewillk

P0429R9 introduced the following using aliases in [container.adaptors.general]:

The following exposition-only alias templates may appear in deduction guides for container adaptors:

template<class Container>
  using cont-key-type =                                // exposition only
    remove_const_t<typename Container::value_type::first_type>;
template<class Container>
  using cont-mapped-type =                             // exposition only
    typename Container::value_type::second_type;

But I didn't find these two being used anywhere. Any information or am I missing something?

Activity

frederick-vs-ja

frederick-vs-ja commented on Oct 15, 2022

@frederick-vs-ja
Contributor

They were used in P0429R8 but are meaningless now...

jensmaurer

jensmaurer commented on Jan 10, 2023

@jensmaurer
Member
changed the title [-][containers] Where are `cont-key-type`/`cont-mapped-type` used?[/-] [+][containers] Where are `cont-key-type`/`cont-mapped-type` used? LWG3781[/+] on Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @frederick-vs-ja@jensmaurer@hewillk

      Issue actions

        [containers] Where are `cont-key-type`/`cont-mapped-type` used? LWG3781 · Issue #5798 · cplusplus/draft