seqan3::detail::customisation_point_object (CPO) definition for seqan3::char_is_valid_for.
More...
#include <seqan3/alphabet/concept.hpp>
template<typename alphabet_t>
struct seqan3::detail::adl_only::char_is_valid_for_cpo< alphabet_t >
seqan3::detail::customisation_point_object (CPO) definition for seqan3::char_is_valid_for.
- Template Parameters
-
alphabet_t | The alphabet type being queried. |
◆ cpo_overload() [1/4]
template<typename alphabet_t >
template<typename alphabet_type = alphabet_t>
|
inlinestaticconstexprnoexcept |
CPO overload (check 1 out of 3): seqan3::to_char, seqan3::assign_char_to composition identity.
- Template Parameters
-
alphabet_type | The type of the alphabet. (Needed to defer instantiation for incomplete types.) |
- Parameters
-
chr | The character of the alphabet. |
This is the default implementation. If your alphabet does not differentiates between upper and lower case you need to implement a custom seqan3::char_is_valid_for overload.
This function calls (if alphabet_type is std::is_nothrow_default_constructible)
constexpr auto assign_char_to
Assign a character to an alphabet object.
Definition alphabet/concept.hpp:521
constexpr auto to_char
Return the char representation of an alphabet object.
Definition alphabet/concept.hpp:383
otherwise calls
◆ cpo_overload() [2/4]
template<typename alphabet_t >
template<typename alphabet_type = alphabet_t>
|
inlinestaticconstexprnoexcept |
CPO overload (check 1 out of 3): static member access, i.e. alphabet_type::char_is_valid(chr)
- Template Parameters
-
alphabet_type | The type of the alphabet. (Needed to defer instantiation for incomplete types.) |
- Parameters
-
chr | The character of the alphabet. |
◆ cpo_overload() [3/4]
template<typename alphabet_t >
template<typename alphabet_type = alphabet_t>
|
inlinestaticconstexprnoexcept |
CPO overload (check 1 out of 3): argument dependent lookup (ADL), i.e. char_is_valid_for(chr, alphabet_type{})
- Template Parameters
-
alphabet_type | The type of the alphabet. (Needed to defer instantiation for incomplete types.) |
- Parameters
-
chr | The character of the alphabet. |
If the alphabet_type isn't std::is_nothrow_default_constructible, char_is_valid_for(chr, std::type_identity<alphabet_type>{})
will be called.
◆ cpo_overload() [4/4]
template<typename alphabet_t >
template<typename alphabet_type = alphabet_t>
|
inlinestaticconstexprnoexcept |
CPO overload (check 1 out of 3): explicit customisation via seqan3::custom::alphabet
- Template Parameters
-
alphabet_type | The type of the alphabet. (Needed to defer instantiation for incomplete types.) |
- Parameters
-
chr | The character of the alphabet. |
The documentation for this struct was generated from the following file: