class once_flag

Defined at line 87 of file ../../third_party/abseil-cpp/absl/base/call_once.h

once_flag

Objects of this type are used to distinguish calls to `call_once()` and

ensure the provided function is only invoked once across all threads. This

type is not copyable or movable. However, it has a `constexpr`

constructor, and is safe to use as a namespace-scoped global variable.

Public Methods

void once_flag ()

Defined at line 89 of file ../../third_party/abseil-cpp/absl/base/call_once.h

void once_flag (const once_flag & )

Defined at line 90 of file ../../third_party/abseil-cpp/absl/base/call_once.h

once_flag & operator= (const once_flag & )

Defined at line 91 of file ../../third_party/abseil-cpp/absl/base/call_once.h

Friends

absl::Nonnull<std::atomic<uint32_t> *> once_flag (absl::Nonnull<once_flag *> flag)