12 template<
typename Derived,
typename ValueType>
18 return static_cast<Derived&
>(*this);
24 return static_cast<ValueType
>(derived());
29 derived() = std::move(t);
35 ValueType lhs = load();
43 ValueType lhs = load();
51 ValueType lhs = load();
59 ValueType lhs = load();
67 ValueType lhs = load();
75 ValueType lhs = load();
83 ValueType lhs = load();
91 ValueType lhs = load();
99 ValueType lhs = load();
107 ValueType lhs = load();
115 ValueType v = load();
123 ValueType v = load();
131 ValueType v = load();
139 ValueType v = load();
147 const auto va =
static_cast<ValueType
>(a);
148 const auto vb =
static_cast<ValueType
>(b);
#define LLAMA_FN_HOST_ACC_INLINE
CRTP mixin for proxy reference types to support all compound assignment and increment/decrement opera...
constexpr auto operator++() -> Derived &
constexpr auto operator|=(const ValueType &rhs) -> Derived &
constexpr auto operator++(int) -> ValueType
constexpr auto operator<<=(const ValueType &rhs) -> Derived &
constexpr auto operator--(int) -> ValueType
constexpr auto operator*=(const ValueType &rhs) -> Derived &
constexpr auto operator>>=(const ValueType &rhs) -> Derived &
constexpr auto operator-=(const ValueType &rhs) -> Derived &
constexpr auto operator^=(const ValueType &rhs) -> Derived &
constexpr auto operator%=(const ValueType &rhs) -> Derived &
constexpr auto operator&=(const ValueType &rhs) -> Derived &
constexpr auto operator/=(const ValueType &rhs) -> Derived &
constexpr auto operator--() -> Derived &
constexpr friend void swap(Derived a, Derived b) noexcept
constexpr auto operator+=(const ValueType &rhs) -> Derived &