Public Member Functions | Private Attributes | Friends | List of all members
absl::once_flag Class Reference

#include <call_once.h>

Public Member Functions

constexpr once_flag ()
 
 once_flag (const once_flag &)=delete
 
once_flagoperator= (const once_flag &)=delete
 

Private Attributes

std::atomic< uint32_t > control_
 

Friends

std::atomic< uint32_t > * base_internal::ControlWord (once_flag *flag)
 

Detailed Description

Definition at line 84 of file call_once.h.

Constructor & Destructor Documentation

◆ once_flag() [1/2]

constexpr absl::once_flag::once_flag ( )
inline

Definition at line 86 of file call_once.h.

◆ once_flag() [2/2]

absl::once_flag::once_flag ( const once_flag )
delete

Member Function Documentation

◆ operator=()

once_flag& absl::once_flag::operator= ( const once_flag )
delete

Friends And Related Function Documentation

◆ base_internal::ControlWord

std::atomic<uint32_t>* base_internal::ControlWord ( once_flag flag)
friend

Member Data Documentation

◆ control_

std::atomic<uint32_t> absl::once_flag::control_
private

Definition at line 92 of file call_once.h.


The documentation for this class was generated from the following file:


abseil_cpp
Author(s):
autogenerated on Mon Feb 28 2022 21:31:22