SeqAn3
seqan3::alphabet_size< uint_type > Struct Template Reference

Specialisation of seqan3::alphabet_size that delegates for uint types. More...

#include <seqan3/alphabet/adaptation/uint.hpp>

Public Types

using type = detail::min_viable_uint_t< static_cast< uint64_t >(std::numeric_limits< uint_type >::max())+1 - std::numeric_limits< uint_type >::lowest()>
 Smallest unsigned integral type that can hold value;.
 

Static Public Attributes

static constexpr type value
 The alphabet's size. More...
 

Detailed Description

template<typename uint_type>
struct seqan3::alphabet_size< uint_type >

Specialisation of seqan3::alphabet_size that delegates for uint types.

Template Parameters
uint_typeOne of uint8_t, uint16_t or uint32_t.
See also
seqan3::alphabet_size_v

Member Data Documentation

◆ value

template<typename uint_type >
constexpr type seqan3::alphabet_size< uint_type >::value
static
Initial value:
=
static_cast<type>(std::numeric_limits<uint_type>::max()) + 1 - std::numeric_limits<uint_type>::lowest()

The alphabet's size.


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