tmp/tmpgepbtp8v/{from.md → to.md}
RENAMED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
### Piecewise construction <a id="pair.piecewise">[[pair.piecewise]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
-
struct piecewise_construct_t {
|
| 5 |
-
|
|
|
|
|
|
|
| 6 |
```
|
| 7 |
|
| 8 |
The `struct` `piecewise_construct_t` is an empty structure type used as
|
| 9 |
a unique type to disambiguate constructor and function overloading.
|
| 10 |
Specifically, `pair` has a constructor with `piecewise_construct_t` as
|
|
|
|
| 1 |
### Piecewise construction <a id="pair.piecewise">[[pair.piecewise]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
+
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 structure type used as
|
| 11 |
a unique type to disambiguate constructor and function overloading.
|
| 12 |
Specifically, `pair` has a constructor with `piecewise_construct_t` as
|