std::barrier<CompletionFunction>::arrive

Constructs an arrival_token object associated with the phase synchronization point for the current phase. Then, decrements the expected count by n.

# Declarations

arrival_token arrive( std::ptrdiff_t n = 1 );

(since C++20)

# Parameters

# Return value

The constructed arrival_token object.

# Notes

This function can cause the completion step for the current phase to start.

# Example

This section is incompleteReason: no example

# See also