KTL
ktl::notomic< T > Class Template Reference

#include <shared.h>

Public Member Functions

 notomic () noexcept=default
 
 notomic (T value) noexcept
 
 notomic (const notomic &)=delete
 
 notomic (notomic &&)=delete
 
fetch_add (T add, std::memory_order) noexcept
 
fetch_sub (T add, std::memory_order) noexcept
 

Constructor & Destructor Documentation

◆ notomic() [1/4]

template<typename T >
ktl::notomic< T >::notomic ( )
defaultnoexcept

◆ notomic() [2/4]

template<typename T >
ktl::notomic< T >::notomic ( value)
inlinenoexcept

◆ notomic() [3/4]

template<typename T >
ktl::notomic< T >::notomic ( const notomic< T > &  )
delete

◆ notomic() [4/4]

template<typename T >
ktl::notomic< T >::notomic ( notomic< T > &&  )
delete

Member Function Documentation

◆ fetch_add()

template<typename T >
T ktl::notomic< T >::fetch_add ( add,
std::memory_order   
)
inlinenoexcept

◆ fetch_sub()

template<typename T >
T ktl::notomic< T >::fetch_sub ( add,
std::memory_order   
)
inlinenoexcept

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