The sentinel type of take_until, provides the comparison operators. More...
#include <seqan3/range/views/take_until.hpp>
Public Member Functions | |
Constructors, destructor and assignment | |
basic_sentinel ()=default | |
Defaulted. | |
basic_sentinel (basic_sentinel const &)=default | |
Defaulted. | |
basic_sentinel (basic_sentinel &&)=default | |
Defaulted. | |
basic_sentinel & | operator= (basic_sentinel const &)=default |
Defaulted. | |
basic_sentinel & | operator= (basic_sentinel &&)=default |
Defaulted. | |
~basic_sentinel ()=default | |
Defaulted. | |
basic_sentinel (urng_sentinel_type urng_sentinel, predicate_ref_t predicate) | |
Construct from a sentinel and a predicate. More... | |
basic_sentinel (basic_sentinel<!is_const_range > other) requires is_const_range &&std | |
Construct from a not const range a const range. | |
Private Types | |
using | predicate_ref_t = std::conditional_t< is_const_range, std::remove_reference_t< fun_t > const &, std::remove_reference_t< fun_t > & > |
Auxiliary type. | |
using | urng_base_type = std::conditional_t< is_const_range, std::add_const_t< urng_t >, urng_t > |
The base type of the underlying range. | |
using | urng_sentinel_type = std::ranges::sentinel_t< urng_base_type > |
The sentinel type of the underlying range. | |
Private Attributes | |
seqan3::semiregular_box_t< predicate_ref_t > | predicate {} |
Reference to the predicate stored in the view. | |
urng_sentinel_type | urng_sentinel {} |
The actual end of the underlying range. | |
Friends | |
Comparison operators | |
template<typename rng_t > | |
bool | operator== (basic_iterator< rng_t > const &lhs, basic_sentinel const &rhs) |
Compares lhs with rhs for equality. | |
template<typename rng_t > | |
bool | operator== (basic_sentinel const &lhs, basic_iterator< rng_t > const &rhs) |
Compares lhs with rhs for equality. | |
template<typename rng_t > | |
bool | operator!= (basic_iterator< rng_t > const &lhs, basic_sentinel const &rhs) |
Compares lhs with rhs for inequality. | |
template<typename rng_t > | |
bool | operator!= (basic_sentinel const &lhs, basic_iterator< rng_t > const &rhs) |
Compares lhs with rhs for inequality. | |
The sentinel type of take_until, provides the comparison operators.
|
inlineexplicit |
Construct from a sentinel and a predicate.
[in] | urng_sentinel | The actual end of the underlying range. |
[in] | predicate | Reference to the predicate stored in the view. |