std::latch::~latch

< cpp‎ | thread‎ | latch
~latch();
(since C++20)

Destroys the latch.

Notes

The behavior is undefined if any thread is concurrently calling a member function of the latch.