std::latch::wait

Blocks the calling thread until the internal counter reaches 0. If it is zero already, returns immediately.

# Declarations

void wait() const;

(since C++20)

# Return value

(none)