[adaptor_def]
More...
#include <seqan3/core/detail/persist_view.hpp>
|
template<std::ranges::viewable_range urng_t> |
static auto | impl (urng_t &&urange) |
| For ranges that are viewable, delegate to std::views::all. More...
|
|
template<std::ranges::range urng_t> |
static auto | impl (urng_t &&urange) |
| For ranges that are not views and not lvalue-references, call view_persist's constructor. More...
|
|
|
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.
|
|
[adaptor_def]
View adaptor definition for detail::persist. !
◆ impl() [1/2]
template<std::ranges::viewable_range urng_t>
static auto seqan3::detail::persist_fn::impl |
( |
urng_t && |
urange | ) |
|
|
inlinestaticprivate |
For ranges that are viewable, delegate to std::views::all.
- Returns
- An instance of std::views::all.
◆ impl() [2/2]
template<std::ranges::range urng_t>
static auto seqan3::detail::persist_fn::impl |
( |
urng_t && |
urange | ) |
|
|
inlinestaticprivate |
The documentation for this class was generated from the following file: