class
std::latch
- Header
<latch>- Draft
- [latch.class]
- Scope
std- cppreference
- std::latch
Synopsis
class latch;Member functions
| Name | Declaration |
|---|---|
latchconstructor · 2 overloads | latch(const latch& other) +1 more |
~latchdestructor | ~latch() |
operator=operator | latch& operator=(const latch& other) |
arrive_and_waitmember function | void arrive_and_wait(ptrdiff_t update) |
count_downmember function | void count_down(ptrdiff_t update) |
try_waitmember function | bool try_wait() const |
waitmember function | void wait() const |
Static member functions
| Name | Declaration |
|---|---|
maxstatic member function | ptrdiff_t max() |