template<FieldSplittable T, FieldWidth WIDTH>
SplitField struct

Public static variables

static size_t PartCount constexpr

Constructors, destructors, conversion operators

template<typename... TProxy>
SplitField(TProxy&... fields)
The fields, in the order the type's ToFields writes them.

Public functions

auto Load() const -> FORCE_INLINE T
The value, put back together.
auto operator T() const -> FORCE_INLINE
auto operator=(const T& value) -> FORCE_INLINE SplitField&
Split value across the fields. Each field is marked dirty as any written field is.
template<typename TOther>
auto operator+=(const TOther& other) -> FORCE_INLINE SplitField&
template<typename TOther>
auto operator-=(const TOther& other) -> FORCE_INLINE SplitField&
template<typename TOther>
auto operator*=(const TOther& other) -> FORCE_INLINE SplitField&
template<typename TOther>
auto operator/=(const TOther& other) -> FORCE_INLINE SplitField&

Public variables

std::array<IntProxy<WIDTH>*, PartCount> Fields