62 constexpr
rna5() noexcept =
default;
63 constexpr
rna5(
rna5 const &) noexcept =
default;
64 constexpr
rna5(
rna5 &&) noexcept =
default;
67 ~rna5() noexcept =
default;
118 constexpr
rna5 operator""_rna5(
char const c) noexcept
137 for (
size_t i = 0; i < n; ++i)
138 r[i].assign_char(s[i]);
The five letter RNA alphabet of A,C,G,U and the unknown character N.
Definition: rna5.hpp:46
The main SeqAn3 namespace.
Provides seqan3::dna5, container aliases and string literals.
The five letter DNA alphabet of A,C,G,T and the unknown character N.
Definition: dna5.hpp:48
constexpr rna5 & assign_rank(rank_type const c) noexcept
Assign from a numeric value.
Definition: alphabet_base.hpp:166
Provides seqan3::nucleotide_base.
constexpr rna5() noexcept=default
Defaulted.
static detail::min_viable_uint_t< size > constexpr alphabet_size
The size of the alphabet, i.e. the number of different values it can take.
Definition: alphabet_base.hpp:175
constexpr rna5(dna5 const &r) noexcept
Allow implicit construction from dna/rna of the same size.
Definition: rna5.hpp:72
A CRTP-base that refines seqan3::alphabet_base and is used by the nucleotides.
Definition: nucleotide_base.hpp:40
constexpr derived_type & assign_char(char_type const c) noexcept
Assign from a character, implicitly converts invalid characters.
Definition: alphabet_base.hpp:141
std::conditional_t< std::Same< char, void >, char, char > char_type
The char representation; conditional needed to make semi alphabet definitions legal.
Definition: alphabet_base.hpp:61
~rna5() noexcept=default
Defaulted.
constexpr rna5 & operator=(rna5 const &) noexcept=default
Defaulted.