Dedekind 0.0.0
A structuralist C++23 Module Library
Loading...
Searching...
No Matches
dedekind::category::Bytes< N > Struct Template Referenceexport

A text written in the source: its bytes, held by value, and a view, so a query over it owns them and nothing dangles, a temporary's included. Its copy is constant-time in the sense a view asks, the length being in the type. More...

Collaboration diagram for dedekind::category::Bytes< N >:

Public Member Functions

constexpr const std::byte * begin () const
constexpr const std::byte * end () const
constexpr const std::byte * data () const
constexpr std::size_t size () const

Public Attributes

std::array< std::byte, N > letters {}

Detailed Description

template<std::size_t N>
struct dedekind::category::Bytes< N >

A text written in the source: its bytes, held by value, and a view, so a query over it owns them and nothing dangles, a temporary's included. Its copy is constant-time in the sense a view asks, the length being in the type.

Template Parameters
Nthe length.

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