constructor · 2 overloads
std::counting_semaphore::counting_semaphore
- Header
<semaphore>- Draft
- [sema.cnt]
- Scope
std::counting_semaphore- cppreference
- std::counting_semaphore::counting_semaphore
Constructors
Overloads
- (1)
counting_semaphore(const counting_semaphore& other) = delete; - (2)
explicit constexpr counting_semaphore(ptrdiff_t desired);