GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::latch::latch(3) C++ Standard Libary std::latch::latch(3)

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


constexpr explicit latch( std::ptrdiff_t expected ); (1) (since C++20)
latch( const latch & ) = delete; (2) (since C++20)


1) Constructs a latch and initializes its internal counter. The behavior is
undefined if expected is negative or greater than max().
2) Copy constructor is deleted. latch is neither copyable nor movable.


expected - the initial value of the internal counter


Throws nothing.

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.