mn::_atomic< unsigned long > Struct Reference

Special version for long. More...

#include <mn_atomic_primary_types.hpp>

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

Public Types

using base_type = BASE_ATOMIC_TYPE< unsigned long >
 
using self_type = _atomic< unsigned long >
 
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_LONG_LOCK_FREE == 2
 

Detailed Description

Special version for long.

Member Typedef Documentation

◆ base_type

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

◆ difference_type

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

◆ self_type

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

◆ value_type

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

Constructor & Destructor Documentation

◆ _atomic() [1/2]

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

◆ _atomic() [2/2]

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

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Member Data Documentation

◆ is_always_lock_free

constexpr bool mn::_atomic< unsigned long >::is_always_lock_free = ATOMIC_LONG_LOCK_FREE == 2
staticconstexpr

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