45template <
size_t size_>
79 template <meta::different_from<semialphabet_any> other_alph_t>
81 explicit operator other_alph_t()
const
Provides bio::alphabet::base.
A CRTP-base that makes defining a custom alphabet easier.
Definition: base.hpp:55
constexpr semialphabet_any< size_ > & assign_rank(rank_type const c) noexcept
Assign from a numeric value.
Definition: base.hpp:168
constexpr rank_type to_rank() const noexcept
Return the letter's numeric value (rank in the alphabet).
Definition: base.hpp:124
A semi-alphabet that type erases all other semi-alphabets of the same size.
Definition: semialphabet_any.hpp:47
constexpr semialphabet_any() noexcept=default
Defaulted.
The basis for bio::alphabet::alphabet, but requires only rank interface (not char).
Definition: concept.hpp:562
constexpr auto size
A type trait that holds the size of a (semi-)alphabet.
Definition: concept.hpp:517
constexpr auto to_rank
Return the rank representation of a (semi-)alphabet object.
Definition: concept.hpp:70
constexpr auto assign_rank_to
Assign a rank to an alphabet object.
Definition: concept.hpp:138
The alphabet module's namespace.
Definition: aa10li.hpp:23