class once_flag

Defined at line 89 of file ../../third_party/abseil-cpp/src/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 91 of file ../../third_party/abseil-cpp/src/absl/base/call_once.h

void once_flag (const once_flag & )

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

once_flag & operator= (const once_flag & )

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

Friends

std::atomic<uint32_t> * _Nonnull once_flag (once_flag * _Nonnull flag)