20#include <bio/alphabet/detail/to_lower.hpp>
78 constexpr aa20() noexcept = default;
79 constexpr
aa20(
aa20 const &) noexcept = default;
81 constexpr
aa20 & operator=(
aa20 const &) noexcept = default;
82 constexpr
aa20 & operator=(
aa20 &&) noexcept = default;
83 ~
aa20() noexcept = default;
91 'A',
'C',
'D',
'E',
'F',
'G',
'H',
'I',
'K',
'L',
'M',
'N',
'P',
'Q',
'R',
'S',
'T',
'V',
'W',
'Y',
135inline namespace literals
146consteval aa20 operator""_aa20(
char const c)
148 if (!char_is_valid_for<aa20>(c))
163template <meta::detail::literal_buffer_
string str>
166 return detail::string_literal<str, aa20>();
Provides bio::alphabet::aminoacid.
Provides bio::alphabet::aminoacid_base.
The canonical amino acid alphabet..
Definition: aa20.hpp:63
static constexpr std::array< char_type, alphabet_size > rank_to_char
Value to char conversion table.
Definition: aa20.hpp:90
constexpr aa20() noexcept=default
Defaulted.
static constexpr std::array< rank_type, 256 > char_to_rank
Char to value conversion table.
Definition: aa20.hpp:95
A CRTP-base that refines bio::alphabet::base and is used by the amino acids.
Definition: aminoacid_base.hpp:31
static constexpr size_t alphabet_size
The size of the alphabet, i.e. the number of different values it can take.
Definition: base.hpp:177
constexpr derived_type & assign_char(char_type const c) noexcept
Assign from a character, implicitly converts invalid characters.
Definition: base.hpp:145
The alphabet module's namespace.
Definition: aa10li.hpp:23