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

View adaptor definition for seqan3::views::enforce_random_access. More...

#include <seqan3/utility/views/enforce_random_access.hpp>

+ Inheritance diagram for seqan3::detail::pseudo_random_access_fn:

Private Types

using base_t = adaptor_base< pseudo_random_access_fn >
 Type of the CRTP-base.
 

Static Private Member Functions

template<std::ranges::viewable_range urng_t>
static constexpr auto impl (urng_t &&urange)
 Call the view's constructor with the underlying view as argument.
 

Private Attributes

friend base_t
 Befriend the base class so it can call impl().
 

Additional Inherited Members

- Public Member Functions inherited from seqan3::detail::adaptor_base< pseudo_random_access_fn >
constexpr auto operator() (urng_t &&urange) &&
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
constexpr auto operator() (urng_t &&urange) const &
 Function-style overload for ranges.
 
constexpr adaptor_base (adaptor_base const &) noexcept=default
 Defaulted.
 
constexpr adaptor_base (adaptor_base &&) noexcept=default
 Defaulted.
 
constexpr adaptor_base (stored_args_ts... args) noexcept(noexcept(std::tuple< stored_args_ts... >{ std::forward< stored_args_ts >(args)...}))
 Constructor with possible arguments; becomes a default constructor for adaptors without args.
 
constexpr adaptor_baseoperator= (adaptor_base const &) noexcept=default
 Defaulted.
 
constexpr adaptor_baseoperator= (adaptor_base &&) noexcept=default
 Defaulted.
 
 ~adaptor_base () noexcept=default
 Defaulted.
 

Detailed Description

View adaptor definition for seqan3::views::enforce_random_access.

Member Function Documentation

◆ impl()

template<std::ranges::viewable_range urng_t>
static constexpr auto seqan3::detail::pseudo_random_access_fn::impl ( urng_t &&  urange)
inlinestaticconstexprprivate

Call the view's constructor with the underlying view as argument.

Returns
An instance of the adapted range.

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