tmp/tmp4ouazxtc/{from.md → to.md}
RENAMED
|
@@ -1,22 +1,32 @@
|
|
| 1 |
#### Placeholders <a id="func.bind.place">[[func.bind.place]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
-
namespace std {
|
| 5 |
-
namespace placeholders {
|
| 6 |
// M is the implementation-defined number of placeholders
|
| 7 |
-
|
| 8 |
-
|
| 9 |
.
|
| 10 |
.
|
| 11 |
.
|
| 12 |
-
|
| 13 |
-
}
|
| 14 |
}
|
| 15 |
```
|
| 16 |
|
| 17 |
All placeholder types shall be `DefaultConstructible` and
|
| 18 |
`CopyConstructible`, and their default constructors and copy/move
|
| 19 |
constructors shall not throw exceptions. It is *implementation-defined*
|
| 20 |
whether placeholder types are `CopyAssignable`. `CopyAssignable`
|
| 21 |
placeholders’ copy assignment operators shall not throw exceptions.
|
| 22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
#### Placeholders <a id="func.bind.place">[[func.bind.place]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
+
namespace std::placeholders {
|
|
|
|
| 5 |
// M is the implementation-defined number of placeholders
|
| 6 |
+
see below _1;
|
| 7 |
+
see below _2;
|
| 8 |
.
|
| 9 |
.
|
| 10 |
.
|
| 11 |
+
see below _M;
|
|
|
|
| 12 |
}
|
| 13 |
```
|
| 14 |
|
| 15 |
All placeholder types shall be `DefaultConstructible` and
|
| 16 |
`CopyConstructible`, and their default constructors and copy/move
|
| 17 |
constructors shall not throw exceptions. It is *implementation-defined*
|
| 18 |
whether placeholder types are `CopyAssignable`. `CopyAssignable`
|
| 19 |
placeholders’ copy assignment operators shall not throw exceptions.
|
| 20 |
|
| 21 |
+
Placeholders should be defined as:
|
| 22 |
+
|
| 23 |
+
``` cpp
|
| 24 |
+
inline constexpr unspecified _1{};
|
| 25 |
+
```
|
| 26 |
+
|
| 27 |
+
If they are not, they shall be declared as:
|
| 28 |
+
|
| 29 |
+
``` cpp
|
| 30 |
+
extern unspecified _1;
|
| 31 |
+
```
|
| 32 |
+
|