22template <
typename char_type>
31 for (
size_t i = char_type{
'A'};
i <= char_type{
'Z'}; ++
i)
32 ret[
i] =
ret[
i] - char_type{
'A'} + char_type{
'a'};
39template <
typename char_type>
48 for (
size_t i = char_type{
'a'};
i <= char_type{
'z'}; ++
i)
49 ret[
i] =
ret[
i] - char_type{
'a'} + char_type{
'A'};
73template <builtin_
character
char_type>
74constexpr char_type
to_lower(char_type
const c)
noexcept
77 return detail::to_lower_table<char_type>[
static_cast<u_t>(c)];
89template <builtin_
character
char_type>
90constexpr char_type
to_upper(char_type
const c)
noexcept
93 return detail::to_upper_table<char_type>[
static_cast<u_t>(c)];
constexpr std::array< char_type, detail::size_in_values_v< char_type > > to_lower_table
Auxiliary table for seqan3::to_lower.
Definition transform.hpp:23
constexpr std::array< char_type, detail::size_in_values_v< char_type > > to_upper_table
Auxiliary table for seqan3::to_upper.
Definition transform.hpp:40
Provides metaprogramming utilities for integer types.
The internal SeqAn3 namespace.
Definition aligned_sequence_concept.hpp:26
The main SeqAn3 namespace.
Definition aligned_sequence_concept.hpp:26
constexpr auto const & get(configuration< configs_t... > const &config) noexcept
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition configuration.hpp:412
constexpr char_type to_upper(char_type const c) noexcept
Converts 'a'-'z' to 'A'-'Z' respectively; other characters are returned as is.
Definition transform.hpp:90
constexpr char_type to_lower(char_type const c) noexcept
Converts 'A'-'Z' to 'a'-'z' respectively; other characters are returned as is.
Definition transform.hpp:74
Provides concepts that do not have equivalents in C++20.