tmp/tmpho7ymjq8/{from.md → to.md}
RENAMED
|
@@ -1,9 +1,10 @@
|
|
| 1 |
### Header `<semaphore>` synopsis <a id="semaphore.syn">[[semaphore.syn]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
namespace std {
|
|
|
|
| 5 |
template<ptrdiff_t least_max_value = implementation-defined>
|
| 6 |
class counting_semaphore;
|
| 7 |
|
| 8 |
using binary_semaphore = counting_semaphore<1>;
|
| 9 |
}
|
|
|
|
| 1 |
### Header `<semaphore>` synopsis <a id="semaphore.syn">[[semaphore.syn]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
namespace std {
|
| 5 |
+
// [thread.sema.cnt], class template counting_semaphore
|
| 6 |
template<ptrdiff_t least_max_value = implementation-defined>
|
| 7 |
class counting_semaphore;
|
| 8 |
|
| 9 |
using binary_semaphore = counting_semaphore<1>;
|
| 10 |
}
|