View adaptor definition for seqan3::views::enforce_random_access.
More...
#include <seqan3/utility/views/enforce_random_access.hpp>
|
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.
|
|
|
friend | base_t |
| Befriend the base class so it can call impl().
|
|
|
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_base & | operator= (adaptor_base const &) noexcept=default |
| Defaulted.
|
|
constexpr adaptor_base & | operator= (adaptor_base &&) noexcept=default |
| Defaulted.
|
|
| ~adaptor_base () noexcept=default |
| Defaulted.
|
|
◆ 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: