Scroll to navigation

std::latch::~latch(3) C++ Standard Libary std::latch::~latch(3)

NAME

std::latch::~latch - std::latch::~latch

Synopsis


~latch(); (since C++20)


Destroys the latch.

Notes


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

2022.07.31 http://cppreference.com