ZXFoundation™ 26h2
Loading...
Searching...
No Matches
lib::record_ref< T, Numbering, FieldOrExts > Class Template Referenceexport
Inheritance diagram for lib::record_ref< T, Numbering, FieldOrExts >:
[legend]
Collaboration diagram for lib::record_ref< T, Numbering, FieldOrExts >:
[legend]

Public Types

using numbering = Numbering
using storage_type = T

Public Member Functions

constexpr auto bits () const noexcept -> const bitfield_ref< T, Numbering > &
constexpr auto bits () noexcept -> bitfield_ref< T, Numbering > &
template<usize I>
constexpr auto get () const noexcept
template<fixed_string Path>
constexpr auto get () const noexcept
template<usize I>
constexpr auto get () noexcept
template<fixed_string Path>
constexpr auto get () noexcept
constexpr operator T () const noexcept
template<fixed_string Path>
constexpr auto operator[] (field_tag< Path >) const noexcept
template<fixed_string Path>
constexpr auto operator[] (field_tag< Path >) noexcept
constexpr record_ref (const void *ptr) noexcept
constexpr record_ref (T &storage) noexcept
constexpr record_ref (void *ptr) noexcept
template<usize I, class ValueType>
constexpr decltype(auto) set (this auto &&self, ValueType &&v) noexcept
template<fixed_string Path, class ValueType>
constexpr decltype(auto) set (this auto &&self, ValueType &&v) noexcept
constexpr auto underlying () const noexcept -> T

Static Public Attributes

static constexpr usize extent = storage_traits<T>::total_bits
static constexpr usize field_count = std::tuple_size_v<FieldTuple>

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