spdlog
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
spdlog::details::null_atomic_int Struct Reference

Detailed Description

Definition at line 22 of file null_mutex.h.

#include <null_mutex.h>

Public Member Functions

 null_atomic_int ()=default
 
 null_atomic_int (int new_value)
 
int load (std::memory_order=std::memory_order_relaxed) const
 
void store (int new_value, std::memory_order=std::memory_order_relaxed)
 
int exchange (int new_value, std::memory_order=std::memory_order_relaxed)
 

Public Attributes

int value
 

Constructor & Destructor Documentation

◆ null_atomic_int() [1/2]

spdlog::details::null_atomic_int::null_atomic_int ( )
default

◆ null_atomic_int() [2/2]

spdlog::details::null_atomic_int::null_atomic_int ( int  new_value)
inlineexplicit

Definition at line 27 of file null_mutex.h.

Member Function Documentation

◆ exchange()

int spdlog::details::null_atomic_int::exchange ( int  new_value,
std::memory_order  = std::memory_order_relaxed 
)
inline

Definition at line 41 of file null_mutex.h.

◆ load()

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

Definition at line 31 of file null_mutex.h.

◆ store()

void spdlog::details::null_atomic_int::store ( int  new_value,
std::memory_order  = std::memory_order_relaxed 
)
inline

Definition at line 36 of file null_mutex.h.

Member Data Documentation

◆ value

int spdlog::details::null_atomic_int::value

Definition at line 24 of file null_mutex.h.


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