std::barrier<CompletionFunction>::arrive_and_drop

Decrements the initial expected count for all subsequent phases by one, and then decrements the expected count for the current phase by one.

# Declarations

void arrive_and_drop();

(since C++20)

# Return value

(none)

# Notes

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

If the current expected count is zero before calling this function, the initial expected count for all subsequent phases is also zero, which means the barrier cannot be reused.

# Example

This section is incompleteReason: no example