ZXFoundation™ 26h2
Loading...
Searching...
No Matches
lib::exact_uint< Bits > Struct Template Referenceexport

Exact-width unsigned integer type (compile-time bit width 1..128). More...

Public Types

using value_type = detail::optimal_uint_t<Bits>

Public Member Functions

constexpr exact_uint (value_type v) noexcept
constexpr operator value_type () const noexcept

Data Fields

value_type value {}

Static Public Attributes

static constexpr usize width = Bits

Friends

constexpr auto operator<=> (exact_uint, exact_uint) noexcept=default
constexpr auto operator== (exact_uint, exact_uint) noexcept -> bool=default

Detailed Description

template<usize Bits>
struct lib::exact_uint< Bits >

Exact-width unsigned integer type (compile-time bit width 1..128).

Exact-width unsigned integer (compile-time bit width 1..128).


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