44 template <
size_t size>
69 template <Semialphabet other_alph_t>
71 requires (alphabet_size<other_alph_t> ==
size)
80 template <Semialphabet other_alph_t>
82 requires (alphabet_size<other_alph_t> ==
size)
84 explicit operator other_alph_t()
const constexpr semialphabet_any & operator=(semialphabet_any const &) noexcept=default
Defaulted.
constexpr auto assign_rank_to
Assign a rank to an alphabet object.
Definition: concept.hpp:207
~semialphabet_any() noexcept=default
Defaulted.
constexpr auto to_rank
Return the rank representation of a (semi-)alphabet object.
Definition: concept.hpp:103
::ranges::size size
Alias for ranges::size. Obtains the size of a range whose size can be calculated in constant time...
Definition: ranges:189
The main SeqAn3 namespace.
A semi-alphabet that type erases all other semi-alphabets of the same size.
Definition: semialphabet_any.hpp:45
constexpr semialphabet_any< size > & assign_rank(rank_type const c) noexcept
Assign from a numeric value.
Definition: alphabet_base.hpp:166
Provides seqan3::alphabet_base.
constexpr rank_type to_rank() const noexcept
Return the letter's numeric value (rank in the alphabet).
Definition: alphabet_base.hpp:117
constexpr semialphabet_any() noexcept=default
Defaulted.
A CRTP-base that makes defining a custom alphabet easier.
Definition: alphabet_base.hpp:52