SeqAn3  3.0.3
The Modern C++ library for sequence analysis.
seqan3::detail::adl_only::char_is_valid_for_fn< alph_t > Struct Template Reference

Functor definition for seqan3::char_is_valid_for. More...

#include <seqan3/alphabet/concept.hpp>

Public Types

using s_alph_t = std::conditional_t< std::is_nothrow_default_constructible_v< std::remove_cvref_t< alph_t > >, std::remove_cvref_t< alph_t >, std::type_identity< alph_t > >
 alph_t with cvref removed and possibly wrapped in std::type_identity.
 

Public Member Functions

template<typename dummy = int>
constexpr bool operator() (alphabet_char_t< alph_t > const a) const noexcept
 Operator definition.
 

Static Public Member Functions

template<typename t , typename ... arg_ts>
static constexpr decltype(auto) impl (seqan3::detail::priority_tag< 0 >, [[maybe_unused]] t &&v, [[maybe_unused]] arg_ts &&... args) noexcept(noexcept((seqan3::to_char(seqan3::assign_char_to(v, s_alph_t{}))==v))) requires requires(seqan3
 A customisation point overload.
 
template<typename t , typename ... arg_ts>
static constexpr decltype(auto) impl (seqan3::detail::priority_tag< 1 >, [[maybe_unused]] t &&v, [[maybe_unused]] arg_ts &&... args) noexcept(noexcept((deferred_type_t< std::remove_cvref_t< alph_t >, decltype(v)>::char_is_valid(v)))) requires requires(seqan3
 A customisation point overload.
 
template<typename t , typename ... arg_ts>
static constexpr decltype(auto) impl (seqan3::detail::priority_tag< 2 >, [[maybe_unused]] t &&v, [[maybe_unused]] arg_ts &&... args) noexcept(noexcept((char_is_valid_for(v, s_alph_t{})))) requires requires(seqan3
 A customisation point overload.
 
template<typename t , typename ... arg_ts>
static constexpr decltype(auto) impl (seqan3::detail::priority_tag< 3 >, [[maybe_unused]] t &&v, [[maybe_unused]] arg_ts &&... args) noexcept(noexcept((deferred_type_t< seqan3::custom::alphabet< alph_t >, decltype(v)>::char_is_valid(v)))) requires requires(seqan3
 A customisation point overload.
 

Detailed Description

template<typename alph_t>
struct seqan3::detail::adl_only::char_is_valid_for_fn< alph_t >

Functor definition for seqan3::char_is_valid_for.

Template Parameters
alph_tThe alphabet type being queried.

The documentation for this struct was generated from the following file: