mn::_atomic< unsigned short > Struct Reference

Special version for short. More...

#include <mn_atomic_primary_types.hpp>

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

Public Types

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

Detailed Description

Special version for short.

Member Typedef Documentation

◆ base_type

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

◆ difference_type

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

◆ self_type

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

◆ value_type

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

Constructor & Destructor Documentation

◆ _atomic() [1/2]

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

◆ _atomic() [2/2]

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

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Member Data Documentation

◆ is_always_lock_free

constexpr bool mn::_atomic< unsigned short >::is_always_lock_free = ATOMIC_SHORT_LOCK_FREE == 2
staticconstexpr

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