ZXFoundation™ 26h2
Loading...
Searching...
No Matches
lib::array_proxy< ElementType, Count, IsConst, IsMMIO, StructEndian > Class Template Referenceexport

Public Types

using pointer_type = std::conditional_t<IsConst, const ElementType *, ElementType *>

Public Member Functions

constexpr array_proxy (u8 *base_ptr) noexcept
constexpr auto begin () const noexcept -> pointer_type
constexpr auto data () const noexcept -> pointer_type
constexpr auto end () const noexcept -> pointer_type
constexpr auto operator[] (usize idx) const noexcept -> ElementType
constexpr auto set (usize idx, ElementType val) const noexcept -> void
constexpr auto size () const noexcept -> usize
constexpr auto try_get (usize idx) const noexcept -> std::expected< ElementType, kernel_error >
constexpr auto try_set (usize idx, ElementType val) const noexcept -> std::expected< void, kernel_error >

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