tmp/tmp3ablg30h/{from.md → to.md}
RENAMED
|
@@ -6,16 +6,19 @@ header `<set>` defines the class templates `set` and `multiset`.
|
|
| 6 |
The following exposition-only alias templates may appear in deduction
|
| 7 |
guides for associative containers:
|
| 8 |
|
| 9 |
``` cpp
|
| 10 |
template<class InputIterator>
|
| 11 |
-
using
|
|
|
|
|
|
|
|
|
|
| 12 |
typename iterator_traits<InputIterator>::value_type::first_type>; // exposition only
|
| 13 |
template<class InputIterator>
|
| 14 |
-
using
|
| 15 |
-
|
| 16 |
template<class InputIterator>
|
| 17 |
-
using
|
| 18 |
-
|
| 19 |
typename iterator_traits<InputIterator>::value_type::second_type>; // exposition only
|
| 20 |
```
|
| 21 |
|
|
|
|
| 6 |
The following exposition-only alias templates may appear in deduction
|
| 7 |
guides for associative containers:
|
| 8 |
|
| 9 |
``` cpp
|
| 10 |
template<class InputIterator>
|
| 11 |
+
using iter-value-type =
|
| 12 |
+
typename iterator_traits<InputIterator>::value_type; // exposition only
|
| 13 |
+
template<class InputIterator>
|
| 14 |
+
using iter-key-type = remove_const_t<
|
| 15 |
typename iterator_traits<InputIterator>::value_type::first_type>; // exposition only
|
| 16 |
template<class InputIterator>
|
| 17 |
+
using iter-mapped-type =
|
| 18 |
+
typename iterator_traits<InputIterator>::value_type::second_type; // exposition only
|
| 19 |
template<class InputIterator>
|
| 20 |
+
using iter-to-alloc-type = pair<
|
| 21 |
+
add_const_t<typename iterator_traits<InputIterator>::value_type::first_type>,
|
| 22 |
typename iterator_traits<InputIterator>::value_type::second_type>; // exposition only
|
| 23 |
```
|
| 24 |
|