tmp/tmp7g0l9kx3/{from.md → to.md}
RENAMED
|
@@ -3,12 +3,12 @@
|
|
| 3 |
``` cpp
|
| 4 |
template<class... Types, class Alloc>
|
| 5 |
struct uses_allocator<tuple<Types...>, Alloc> : true_type { };
|
| 6 |
```
|
| 7 |
|
| 8 |
-
*Preconditions:* `Alloc` meets the *Cpp17Allocator*
|
| 9 |
-
|
| 10 |
|
| 11 |
[*Note 1*: Specialization of this trait informs other library
|
| 12 |
components that `tuple` can be constructed with an allocator, even
|
| 13 |
though it does not have a nested `allocator_type`. — *end note*]
|
| 14 |
|
|
|
|
| 3 |
``` cpp
|
| 4 |
template<class... Types, class Alloc>
|
| 5 |
struct uses_allocator<tuple<Types...>, Alloc> : true_type { };
|
| 6 |
```
|
| 7 |
|
| 8 |
+
*Preconditions:* `Alloc` meets the *Cpp17Allocator*
|
| 9 |
+
requirements [[allocator.requirements.general]].
|
| 10 |
|
| 11 |
[*Note 1*: Specialization of this trait informs other library
|
| 12 |
components that `tuple` can be constructed with an allocator, even
|
| 13 |
though it does not have a nested `allocator_type`. — *end note*]
|
| 14 |
|