View adaptor definition for detail::take_until and detail::take_until_or_throw.
More...
#include <seqan3/io/views/detail/take_until_view.hpp>
|
template<typename fun_t > |
constexpr auto | operator() (fun_t &&fun) const |
| Store the arguments and return a range adaptor closure object.
|
|
template<std::ranges::viewable_range urng_t, typename fun_t > |
constexpr auto | operator() (urng_t &&urange, fun_t &&fun) const |
| Call the view's constructor with the given parameters.
|
|
template<bool or_throw, bool and_consume>
struct seqan3::detail::take_until_fn< or_throw, and_consume >
View adaptor definition for detail::take_until and detail::take_until_or_throw.
- Template Parameters
-
or_throw | Whether to throw an exception when the input is exhausted before the end of line is reached. |
◆ operator()()
template<bool or_throw, bool and_consume>
template<std::ranges::viewable_range urng_t, typename fun_t >
Call the view's constructor with the given parameters.
- Template Parameters
-
urng_t | The underlying range type; must model std::ranges::view. |
fun_t | The type of the callable; concept checks done in class. |
- Parameters
-
[in] | urange | The underlying range. |
[in] | fun | The callable that will be evaluated on every element. |
- Returns
- An instance of seqan3::detail::view_take_until.
The documentation for this struct was generated from the following file: