Struct atomic_integral_base

Synopsis

#include <include/EASTL/internal/atomic/atomic_integral.h>

template <typename T, unsigned width = sizeof(T)>
struct atomic_integral_base : public atomic_base_width<T, width>

Description

No description yet.

Inheritance

Ancestors: atomic_base_width

Methods

atomic_integral_base overload
operator= overload

Source

Lines 63-152 in include/EASTL/internal/atomic/atomic_integral.h.

template <typename T, unsigned width = sizeof(T)>
struct atomic_integral_base : public atomic_base_width<T, width>
{
private:
    using Base = atomic_base_width<T, width>;
public: /* ctors */
    EA_CONSTEXPR atomic_integral_base(T desired) EA_NOEXCEPT
        : Base{ desired }
    {
    }
    EA_CONSTEXPR atomic_integral_base() EA_NOEXCEPT = default;
    atomic_integral_base(const atomic_integral_base&) EA_NOEXCEPT = delete;
public: /* assignment operator */
    using Base::operator=;
    atomic_integral_base& operator=(const atomic_integral_base&)          EA_NOEXCEPT = delete;
    atomic_integral_base& operator=(const atomic_integral_base&) volatile EA_NOEXCEPT = delete;
public: /* fetch_add */
    EASTL_ATOMIC_INTEGRAL_STATIC_ASSERT_FUNCS_IMPL(fetch_add)
public: /* add_fetch */
    EASTL_ATOMIC_INTEGRAL_STATIC_ASSERT_FUNCS_IMPL(add_fetch)
public: /* fetch_sub */
    EASTL_ATOMIC_INTEGRAL_STATIC_ASSERT_FUNCS_IMPL(fetch_sub)
public: /* sub_fetch */
    EASTL_ATOMIC_INTEGRAL_STATIC_ASSERT_FUNCS_IMPL(sub_fetch)
public: /* fetch_and */
    EASTL_ATOMIC_INTEGRAL_STATIC_ASSERT_FUNCS_IMPL(fetch_and)
public: /* and_fetch */
    EASTL_ATOMIC_INTEGRAL_STATIC_ASSERT_FUNCS_IMPL(and_fetch)
public: /* fetch_or */
    EASTL_ATOMIC_INTEGRAL_STATIC_ASSERT_FUNCS_IMPL(fetch_or)
public: /* or_fetch */
    EASTL_ATOMIC_INTEGRAL_STATIC_ASSERT_FUNCS_IMPL(or_fetch)
public: /* fetch_xor */
    EASTL_ATOMIC_INTEGRAL_STATIC_ASSERT_FUNCS_IMPL(fetch_xor)
public: /* xor_fetch */
    EASTL_ATOMIC_INTEGRAL_STATIC_ASSERT_FUNCS_IMPL(xor_fetch)
public: /* operator++ && operator-- */
    EASTL_ATOMIC_INTEGRAL_STATIC_ASSERT_INC_DEC_OPERATOR_IMPL(++)
    EASTL_ATOMIC_INTEGRAL_STATIC_ASSERT_INC_DEC_OPERATOR_IMPL(--)
public: /* operator+= && operator-= */
    EASTL_ATOMIC_INTEGRAL_STATIC_ASSERT_ASSIGNMENT_OPERATOR_IMPL(+=)
    EASTL_ATOMIC_INTEGRAL_STATIC_ASSERT_ASSIGNMENT_OPERATOR_IMPL(-=)
public: /* operator&= */
    EASTL_ATOMIC_INTEGRAL_STATIC_ASSERT_ASSIGNMENT_OPERATOR_IMPL(&=)
public: /* operator|= */
    EASTL_ATOMIC_INTEGRAL_STATIC_ASSERT_ASSIGNMENT_OPERATOR_IMPL(|=)
public: /* operator^= */
    EASTL_ATOMIC_INTEGRAL_STATIC_ASSERT_ASSIGNMENT_OPERATOR_IMPL(^=)
};





Add Discussion as Guest

Log in