tmp/tmpybkzf4ps/{from.md → to.md}
RENAMED
|
@@ -5,12 +5,12 @@ namespace std {
|
|
| 5 |
struct allocator_arg_t { explicit allocator_arg_t() = default; };
|
| 6 |
inline constexpr allocator_arg_t allocator_arg{};
|
| 7 |
}
|
| 8 |
```
|
| 9 |
|
| 10 |
-
The `allocator_arg_t` struct is an empty
|
| 11 |
type to disambiguate constructor and function overloading. Specifically,
|
| 12 |
several types (see `tuple` [[tuple]]) have constructors with
|
| 13 |
`allocator_arg_t` as the first argument, immediately followed by an
|
| 14 |
-
argument of a type that
|
| 15 |
-
[[
|
| 16 |
|
|
|
|
| 5 |
struct allocator_arg_t { explicit allocator_arg_t() = default; };
|
| 6 |
inline constexpr allocator_arg_t allocator_arg{};
|
| 7 |
}
|
| 8 |
```
|
| 9 |
|
| 10 |
+
The `allocator_arg_t` struct is an empty class type used as a unique
|
| 11 |
type to disambiguate constructor and function overloading. Specifically,
|
| 12 |
several types (see `tuple` [[tuple]]) have constructors with
|
| 13 |
`allocator_arg_t` as the first argument, immediately followed by an
|
| 14 |
+
argument of a type that meets the *Cpp17Allocator* requirements (
|
| 15 |
+
[[cpp17.allocator]]).
|
| 16 |
|