std::atomic< unsigned int > Struct Reference
Atomics

`#include <atomic>`

Inheritance diagram for std::atomic< unsigned int >:
[legend]

## Public Types

typedef __atomic_base< unsigned int > | __base_type
typedef unsigned int | __integral_type
using | difference_type = value_type
using | value_type = unsigned int

## Public Member Functions

constexpr | atomic (__integral_type __i) noexcept
| atomic (const atomic &)=delete
| __attribute__ ((__always_inline__)) void store(__int_type __i
bool | is_lock_free () const noexcept
bool | is_lock_free () const volatile noexcept
| operator __int_type () const noexcept
| operator __int_type () const volatile noexcept
__int_type | operator&= (__int_type __i) noexcept
__int_type | operator&= (__int_type __i) volatile noexcept
__int_type | operator++ () noexcept
__int_type | operator++ () volatile noexcept
__int_type | operator++ (int) noexcept
__int_type | operator++ (int) volatile noexcept
__int_type | operator+= (__int_type __i) noexcept
__int_type | operator+= (__int_type __i) volatile noexcept
__int_type | operator-- () noexcept
__int_type | operator-- () volatile noexcept
__int_type | operator-- (int) noexcept
__int_type | operator-- (int) volatile noexcept
__int_type | operator-= (__int_type __i) noexcept
__int_type | operator-= (__int_type __i) volatile noexcept
atomic & | operator= (const atomic &) volatile=delete
atomic & | operator= (const atomic &)=delete
__int_type | operator^= (__int_type __i) noexcept
__int_type | operator^= (__int_type __i) volatile noexcept
__int_type | operator|= (__int_type __i) noexcept
__int_type | operator|= (__int_type __i) volatile noexcept

## Detailed Description

Explicit specialization for unsigned int.

Definition at line 771 of file atomic.

## Member Typedef Documentation

## __base_type

typedef __atomic_base<unsigned int> std::atomic< unsigned int >::__base_type

Definition at line 774 of file atomic.

## __integral_type

typedef unsigned int std::atomic< unsigned int >::__integral_type

Definition at line 773 of file atomic.

## difference_type

using std::__atomic_base< unsigned int >::difference_type = value_type

inherited

Definition at line 261 of file atomic_base.h.

## value_type

using std::__atomic_base< unsigned int >::value_type = unsigned int

inherited

Definition at line 260 of file atomic_base.h.

## Constructor & Destructor Documentation

## atomic()

constexpr std::atomic< unsigned int >::atomic | ( | __integral_type | __i | ) |

inline constexpr noexcept

Definition at line 782 of file atomic.

## Member Function Documentation

## is_lock_free() [1/2]

bool std::__atomic_base< unsigned int >::is_lock_free | ( |  | ) | const

inline noexcept inherited

Definition at line 374 of file atomic_base.h.

## is_lock_free() [2/2]

bool std::__atomic_base< unsigned int >::is_lock_free | ( |  | ) | const volatile

inline noexcept inherited

Definition at line 382 of file atomic_base.h.

## operator __int_type() [1/2]

std::__atomic_base< unsigned int >::operator __int_type | ( |  | ) | const

inline noexcept inherited

Definition at line 281 of file atomic_base.h.

## operator __int_type() [2/2]

std::__atomic_base< unsigned int >::operator __int_type | ( |  | ) | const volatile

inline noexcept inherited

Definition at line 284 of file atomic_base.h.

## operator&=() [1/2]

__int_type std::__atomic_base< unsigned int >::operator&= | ( | __int_type | __i | ) |

inline noexcept inherited

Definition at line 350 of file atomic_base.h.

## operator&=() [2/2]

__int_type std::__atomic_base< unsigned int >::operator&= | ( | __int_type | __i | ) | volatile

inline noexcept inherited

Definition at line 354 of file atomic_base.h.

## operator++() [1/4]

__int_type std::__atomic_base< unsigned int >::operator++ | ( |  | ) |

inline noexcept inherited

Definition at line 318 of file atomic_base.h.

## operator++() [2/4]

__int_type std::__atomic_base< unsigned int >::operator++ | ( |  | ) | volatile

inline noexcept inherited

Definition at line 322 of file atomic_base.h.

## operator++() [3/4]

__int_type std::__atomic_base< unsigned int >::operator++ | ( | int |  | ) |

inline noexcept inherited

Definition at line 302 of file atomic_base.h.

## operator++() [4/4]

__int_type std::__atomic_base< unsigned int >::operator++ | ( | int |  | ) | volatile

inline noexcept inherited

Definition at line 306 of file atomic_base.h.

## operator+=() [1/2]

__int_type std::__atomic_base< unsigned int >::operator+= | ( | __int_type | __i | ) |

inline noexcept inherited

Definition at line 334 of file atomic_base.h.

## operator+=() [2/2]

__int_type std::__atomic_base< unsigned int >::operator+= | ( | __int_type | __i | ) | volatile

inline noexcept inherited

Definition at line 338 of file atomic_base.h.

## operator--() [1/4]

__int_type std::__atomic_base< unsigned int >::operator-- | ( |  | ) |

inline noexcept inherited

Definition at line 326 of file atomic_base.h.

## operator--() [2/4]

__int_type std::__atomic_base< unsigned int >::operator-- | ( |  | ) | volatile

inline noexcept inherited

Definition at line 330 of file atomic_base.h.

## operator--() [3/4]

__int_type std::__atomic_base< unsigned int >::operator-- | ( | int |  | ) |

inline noexcept inherited

Definition at line 310 of file atomic_base.h.

## operator--() [4/4]

__int_type std::__atomic_base< unsigned int >::operator-- | ( | int |  | ) | volatile

inline noexcept inherited

Definition at line 314 of file atomic_base.h.

## operator-=() [1/2]

__int_type std::__atomic_base< unsigned int >::operator-= | ( | __int_type | __i | ) |

inline noexcept inherited

Definition at line 342 of file atomic_base.h.

## operator-=() [2/2]

__int_type std::__atomic_base< unsigned int >::operator-= | ( | __int_type | __i | ) | volatile

inline noexcept inherited

Definition at line 346 of file atomic_base.h.

## operator^=() [1/2]

__int_type std::__atomic_base< unsigned int >::operator^= | ( | __int_type | __i | ) |

inline noexcept inherited

Definition at line 366 of file atomic_base.h.

## operator^=() [2/2]

__int_type std::__atomic_base< unsigned int >::operator^= | ( | __int_type | __i | ) | volatile

inline noexcept inherited

Definition at line 370 of file atomic_base.h.

## operator|=() [1/2]

__int_type std::__atomic_base< unsigned int >::operator|= | ( | __int_type | __i | ) |

inline noexcept inherited

Definition at line 358 of file atomic_base.h.

## operator|=() [2/2]

__int_type std::__atomic_base< unsigned int >::operator|= | ( | __int_type | __i | ) | volatile

inline noexcept inherited

Definition at line 362 of file atomic_base.h.

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

- atomic