Decrease the internal count of the std::experimental::latch
, and block until the count
has been decreased to zero.
void count_down_and_wait();
The internal count of the latch is greater than 0.
this->count_down(1); this->wait();
#include <experimental/latch>