tmp/tmpa5u58jg_/{from.md → to.md}
RENAMED
|
@@ -5,12 +5,12 @@ struct piecewise_construct_t {
|
|
| 5 |
explicit piecewise_construct_t() = default;
|
| 6 |
};
|
| 7 |
inline constexpr piecewise_construct_t piecewise_construct{};
|
| 8 |
```
|
| 9 |
|
| 10 |
-
The `struct` `piecewise_construct_t` is an empty
|
| 11 |
-
|
| 12 |
Specifically, `pair` has a constructor with `piecewise_construct_t` as
|
| 13 |
-
the first argument, immediately followed by two `tuple`
|
| 14 |
arguments used for piecewise construction of the elements of the `pair`
|
| 15 |
object.
|
| 16 |
|
|
|
|
| 5 |
explicit piecewise_construct_t() = default;
|
| 6 |
};
|
| 7 |
inline constexpr piecewise_construct_t piecewise_construct{};
|
| 8 |
```
|
| 9 |
|
| 10 |
+
The `struct` `piecewise_construct_t` is an empty class type used as a
|
| 11 |
+
unique type to disambiguate constructor and function overloading.
|
| 12 |
Specifically, `pair` has a constructor with `piecewise_construct_t` as
|
| 13 |
+
the first argument, immediately followed by two `tuple` [[tuple]]
|
| 14 |
arguments used for piecewise construction of the elements of the `pair`
|
| 15 |
object.
|
| 16 |
|