cplusplus / draft

C++ standards drafts
http://www.open-std.org/jtc1/sc22/wg21/
5.69k stars 749 forks source link

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

Open hewillk opened 2 years ago

hewillk commented 2 years ago

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 commented 2 years ago

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

jensmaurer commented 1 year ago

LWG3781