24 #include "../../result.h"
33 template <
typename T >
34 using opt = std::optional< T >;
80 std::array< std::byte, 2 > b;
82 b[1] = ~static_cast< std::byte >( hst );
MIT License.
Definition: base.h:25
std::optional< T > opt
Definition: handler.h:37
std::array< std::byte, 2 > get_hdr(hdr_state hst) noexcept
Definition: page.h:78
hdr_state
Definition: page.h:37
hdr_state next(hdr_state cs) noexcept
Definition: page.h:43
opt< hdr_state > hdr_to_hdr_state(std::span< std::byte, cell_size > b) noexcept
Definition: page.h:71
opt< hdr_state > byte_to_hdr(std::byte b) noexcept
Definition: page.h:57
physical_quantity< 0, 0, 0, 0, 0, 0, 0, 0, 1 > byte
Definition: physical_quantity.h:118