tmp/tmp2pqf2j1g/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
##### Constructor and Destructor <a id="exec.simple.counting.ctor">[[exec.simple.counting.ctor]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
simple_counting_scope() noexcept;
|
| 5 |
+
```
|
| 6 |
+
|
| 7 |
+
*Ensures:* *count* is `0` and *state* is *unused*.
|
| 8 |
+
|
| 9 |
+
``` cpp
|
| 10 |
+
~simple_counting_scope();
|
| 11 |
+
```
|
| 12 |
+
|
| 13 |
+
*Effects:* If *state* is not one of *joined*, *unused*, or
|
| 14 |
+
*unused-and-closed*, invokes `terminate` [[except.terminate]].
|
| 15 |
+
Otherwise, has no effects.
|
| 16 |
+
|