SeqAn3
seqan3::alphabet_size< char_type > Struct Template Reference

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

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

Public Types

using type = detail::min_viable_uint_t< static_cast< uint64_t >(std::numeric_limits< char_type >::max())+1 - std::numeric_limits< char_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 char_type>
struct seqan3::alphabet_size< char_type >

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

Template Parameters
char_typeOne of char, char16_t, char32_t or wchar_t.
See also
seqan3::alphabet_size_v

Member Data Documentation

◆ value

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

The alphabet's size.


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