39 template <
typename type,
typename type_no_ref = std::remove_reference_t<type>>
61 template <
typename char_type>
63 requires seqan3::detail::is_char_adaptation_v<char_type>
65 constexpr
auto alphabet_size(char_type
const & SEQAN3_DOXYGEN_ONLY(chr)) noexcept
75 template <
typename char_type>
77 requires seqan3::detail::is_char_adaptation_v<char_type>
79 constexpr char_type
to_char(char_type
const chr) noexcept
89 template <
typename char_type>
91 requires seqan3::detail::is_char_adaptation_v<char_type>
93 constexpr
auto to_rank(char_type
const chr) noexcept
104 template <
typename char_type>
106 requires detail::is_char_adaptation_v<char_type>
108 constexpr char_type &
assign_char_to(char_type
const chr2, char_type & chr) noexcept
119 template <
typename char_type>
121 requires detail::is_char_adaptation_v<char_type>
constexpr char_type to_char(char_type const chr) noexcept
Converting char to char is no-op (it will just return the value you pass in).
Definition: char.hpp:79
Provides metaprogramming utilities for integer types.
constexpr auto to_rank(char_type const chr) noexcept
Convert char to rank by casting to an unsigned integral type of same size.
Definition: char.hpp:93
Definition: aligned_sequence_concept.hpp:35
constexpr char_type & assign_rank_to(decltype(to_rank(char_type{})) const rank, char_type &chr) noexcept
Assigning a rank to a char is the same as assigning it a numeric value.
Definition: char.hpp:123
constexpr auto alphabet_size(char_type const &chr) noexcept
Return the number of values the char type can take.
Definition: char.hpp:65
constexpr char_type & assign_char_to(char_type const chr2, char_type &chr) noexcept
Assign a char to the char type (same as calling =).
Definition: char.hpp:108
A namespace for third party and standard library specialisations of SeqAn customisation points...
Definition: char.hpp:47
The concept std::Same<T, U> is satisfied if and only if T and U denote the same type.