Public Member Functions | Public Attributes | List of all members
spdlog::details::null_atomic_int Struct Reference

#include <null_mutex.h>

Public Member Functions

 null_atomic_int ()=default
 
 null_atomic_int (int val)
 
int load (std::memory_order) const
 
void store (int val)
 

Public Attributes

int value
 

Detailed Description

Definition at line 23 of file null_mutex.h.

Constructor & Destructor Documentation

spdlog::details::null_atomic_int::null_atomic_int ( )
default
spdlog::details::null_atomic_int::null_atomic_int ( int  val)
inlineexplicit

Definition at line 28 of file null_mutex.h.

Member Function Documentation

int spdlog::details::null_atomic_int::load ( std::memory_order  ) const
inline

Definition at line 33 of file null_mutex.h.

34  {
35  return value;
36  }
void spdlog::details::null_atomic_int::store ( int  val)
inline

Definition at line 38 of file null_mutex.h.

39  {
40  value = val;
41  }

Member Data Documentation

int spdlog::details::null_atomic_int::value

Definition at line 25 of file null_mutex.h.


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