39 template <
typename type,
typename type2 = std::remove_reference_t<type>>
60 template <
typename u
int_type>
62 requires ::seqan3::detail::is_uint_adaptation_v<uint_type>
64 constexpr
auto alphabet_size(uint_type
const & SEQAN3_DOXYGEN_ONLY(intgr)) noexcept
74 template <
typename u
int_type>
76 requires detail::is_uint_adaptation_v<uint_type>
78 constexpr
auto to_char(uint_type
const intgr) noexcept
81 return static_cast<char>(intgr);
83 return static_cast<char16_t
>(intgr);
85 return static_cast<char32_t
>(intgr);
93 template <
typename u
int_type>
95 requires detail::is_uint_adaptation_v<uint_type>
97 constexpr uint_type
to_rank(uint_type
const intgr) noexcept
108 template <
typename u
int_type>
110 requires detail::is_uint_adaptation_v<uint_type>
123 template <
typename u
int_type>
125 requires detail::is_uint_adaptation_v<uint_type>
127 constexpr uint_type &
assign_rank_to(uint_type
const intgr2, uint_type & intgr) noexcept
129 return intgr = intgr2;
constexpr auto assign_rank_to
Assign a rank to an alphabet object.
Definition: concept.hpp:207
Provides metaprogramming utilities for integer types.
constexpr auto to_char
Return the char representation of an alphabet object.
Definition: concept.hpp:285
constexpr auto to_rank
Return the rank representation of a (semi-)alphabet object.
Definition: concept.hpp:103
The concept std::Same<T, U> is satisfied if and only if T and U denote the same type.
Definition: aligned_sequence_concept.hpp:35
A namespace for third party and standard library specialisations of SeqAn customisation points...
Definition: char.hpp:47
constexpr auto assign_char_to
Assign a character to an alphabet object.
Definition: concept.hpp:395
constexpr auto alphabet_size
A type trait that holds the size of a (semi-)alphabet.
Definition: concept.hpp:678