Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hewillk opened this issue Aug 29, 2022 · 2 comments · Fixed by #5983
Open

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

hewillk opened this issue Aug 29, 2022 · 2 comments · Fixed by #5983

Comments

@hewillk
Copy link
Contributor

hewillk commented Aug 29, 2022

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?

@frederick-vs-ja
Copy link
Contributor

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

@jensmaurer
Copy link
Member

LWG3781

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

Successfully merging a pull request may close this issue.

3 participants