The type returned by seqan3::views::persist. More...
#include <seqan3/range/views/persist.hpp>
Public Member Functions | |
Constructors, destructor and assignment | |
view_persist () noexcept=default | |
Defaulted. | |
constexpr | view_persist (view_persist const &rhs) noexcept=default |
Defaulted. | |
constexpr | view_persist (view_persist &&rhs) noexcept=default |
Defaulted. | |
constexpr view_persist & | operator= (view_persist const &rhs) noexcept=default |
Defaulted. | |
constexpr view_persist & | operator= (view_persist &&rhs) noexcept=default |
Defaulted. | |
~view_persist () noexcept=default | |
Defaulted. | |
view_persist (urng_t &&_urange) | |
Construct from another range. More... | |
Iterators | |
auto | begin () noexcept |
Returns an iterator to the first element of the container. More... | |
auto | begin () const noexcept |
Returns an iterator to the first element of the container. More... | |
auto | end () noexcept |
Returns an iterator to the element following the last element of the range. More... | |
auto | end () const noexcept |
Returns an iterator to the element following the last element of the range. More... | |
Private Attributes | |
std::shared_ptr< urng_t > | urange |
Shared storage of the underlying range. | |
Related Functions | |
(Note that these are not member functions.) | |
template<typename urng_t > | |
view_persist (urng_t &&) -> view_persist< std::remove_reference_t< urng_t >> | |
Template argument type deduction guide that strips references. | |
The type returned by seqan3::views::persist.
urng_t | The type of the underlying range, must model std::ranges::input_range. |
Note that most members of this class are generated by ranges::view_interface which is not yet documented here.
|
inline |
Construct from another range.
[in] | _urange | The underlying range. |
|
inlinenoexcept |
Returns an iterator to the first element of the container.
If the container is empty, the returned iterator will be equal to end().
Constant.
No-throw guarantee.
|
inlinenoexcept |
Returns an iterator to the first element of the container.
If the container is empty, the returned iterator will be equal to end().
Constant.
No-throw guarantee.
|
inlinenoexcept |
Returns an iterator to the element following the last element of the range.
This element acts as a placeholder; attempting to dereference it results in undefined behaviour.
Constant.
No-throw guarantee.
|
inlinenoexcept |
Returns an iterator to the element following the last element of the range.
This element acts as a placeholder; attempting to dereference it results in undefined behaviour.
Constant.
No-throw guarantee.