mn::_atomic< unsigned int > Struct Reference

Special version for int. More...

#include <mn_atomic_primary_types.hpp>

+ Inheritance diagram for mn::_atomic< unsigned int >:
+ Collaboration diagram for mn::_atomic< unsigned int >:

Public Types

using base_type = BASE_ATOMIC_TYPE< unsigned int >
 
using self_type = _atomic< unsigned int >
 
using value_type = typename base_type::value_type
 
using difference_type = typename base_type::difference_type
 

Public Member Functions

 _atomic (const self_type &)=delete
 
_atomicoperator= (const self_type &)=delete
 
_atomicoperator= (const self_type &) volatile=delete
 
constexpr _atomic (value_type value)
 

Static Public Attributes

static constexpr bool is_always_lock_free = ATOMIC_INT_LOCK_FREE == 2
 

Detailed Description

Special version for int.

Member Typedef Documentation

◆ base_type

using mn::_atomic< unsigned int >::base_type = BASE_ATOMIC_TYPE<unsigned int>

◆ difference_type

using mn::_atomic< unsigned int >::difference_type = typename base_type::difference_type

◆ self_type

using mn::_atomic< unsigned int >::self_type = _atomic<unsigned int>

◆ value_type

using mn::_atomic< unsigned int >::value_type = typename base_type::value_type

Constructor & Destructor Documentation

◆ _atomic() [1/2]

mn::_atomic< unsigned int >::_atomic ( const self_type )
delete

◆ _atomic() [2/2]

constexpr mn::_atomic< unsigned int >::_atomic ( value_type  value)
inlineconstexpr

Member Function Documentation

◆ operator=() [1/2]

_atomic& mn::_atomic< unsigned int >::operator= ( const self_type ) volatile
delete

◆ operator=() [2/2]

_atomic& mn::_atomic< unsigned int >::operator= ( const self_type )
delete

Member Data Documentation

◆ is_always_lock_free

constexpr bool mn::_atomic< unsigned int >::is_always_lock_free = ATOMIC_INT_LOCK_FREE == 2
staticconstexpr

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