SeqAn3 3.4.0-rc.1
The Modern C++ library for sequence analysis.
Loading...
Searching...
No Matches
seqan3::detail::adl_only::to_rank_cpo Struct Reference

seqan3::detail::customisation_point_object (CPO) definition for seqan3::to_rank. More...

#include <seqan3/alphabet/concept.hpp>

+ Inheritance diagram for seqan3::detail::adl_only::to_rank_cpo:

Public Types

using base_t = detail::customisation_point_object< to_rank_cpo, 2 >
 CRTP base class seqan3::detail::customisation_point_object.
 

Static Public Member Functions

template<typename alphabet_t >
static constexpr auto cpo_overload (priority_tag< 0 >, alphabet_t &&alphabet) noexcept(auto)
 CPO overload (check 1 out of 3): member access, i.e. alphabet.to_rank()
 
template<typename alphabet_t >
static constexpr auto cpo_overload (priority_tag< 1 >, alphabet_t &&alphabet) noexcept(auto)
 CPO overload (check 1 out of 3): argument dependent lookup (ADL), i.e. to_rank(alphabet)
 
template<typename alphabet_t >
static constexpr auto cpo_overload (priority_tag< 2 >, alphabet_t &&alphabet) noexcept(auto)
 CPO overload (check 1 out of 3): explicit customisation via seqan3::custom::alphabet
 

Additional Inherited Members

- Public Member Functions inherited from seqan3::detail::customisation_point_object< to_rank_cpo, 2 >
constexpr auto operator() (args_t &&... args) const noexcept(auto)
 SFINAE-friendly call-operator of this seqan3::detail::customisation_point_object instance.
 

Detailed Description

Member Function Documentation

◆ cpo_overload() [1/3]

template<typename alphabet_t >
static constexpr auto seqan3::detail::adl_only::to_rank_cpo::cpo_overload ( priority_tag< 0 >  ,
alphabet_t &&  alphabet 
)
inlinestaticconstexprnoexcept

CPO overload (check 1 out of 3): member access, i.e. alphabet.to_rank()

Template Parameters
alphabet_tThe type of the alphabet.
Parameters
alphabetThe alphabet the rank is returned from.

◆ cpo_overload() [2/3]

template<typename alphabet_t >
static constexpr auto seqan3::detail::adl_only::to_rank_cpo::cpo_overload ( priority_tag< 1 >  ,
alphabet_t &&  alphabet 
)
inlinestaticconstexprnoexcept

CPO overload (check 1 out of 3): argument dependent lookup (ADL), i.e. to_rank(alphabet)

Template Parameters
alphabet_tThe type of the alphabet.
Parameters
alphabetThe alphabet the rank is returned from.

◆ cpo_overload() [3/3]

template<typename alphabet_t >
static constexpr auto seqan3::detail::adl_only::to_rank_cpo::cpo_overload ( priority_tag< 2 >  ,
alphabet_t &&  alphabet 
)
inlinestaticconstexprnoexcept

CPO overload (check 1 out of 3): explicit customisation via seqan3::custom::alphabet

Template Parameters
alphabet_tThe type of the alphabet.
Parameters
alphabetThe alphabet the rank is returned from.

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