std::latch::
~latch
<
cpp
|
thread
|
latch
~latch
(
)
;
(C++20 起)
销毁
latch
。
注解
若有任何线程在同时调用
latch
的成员函数则行为未定义。