33 class all_fn :
public adaptor_base<all_fn>
37 using base_t = adaptor_base<all_fn>;
50 template <std::ranges::Range urng_t>
51 static constexpr
auto impl(urng_t && urange)
54 "The view::all adaptor can only be passed ViewableRanges, i.e. Views or &-to-non-View.");
62 else if constexpr (is_type_specialisation_of_v<remove_cvref_t<urng_t>,
std::basic_string> &&
68 else if constexpr (ForwardingRange<urng_t> &&
75 else if constexpr (ForwardingRange<urng_t> &&
160 inline constexpr
auto all = detail::all_fn{};
169 template <
typename t>
Specifies requirements of a Range type whose elements occupy adjacent locations in memory...
::ranges::subrange< it_t, sen_t, k > subrange
Create a view from a pair of iterator and sentinel.
Definition: ranges:339
Specifies the requirements of a Range type that has constant time copy, move and assignment operators...
decltype(view::all(std::declval< t >())) all_view
Deduces the return value of seqan3::view::all.
Definition: view_all.hpp:170
Provides seqan3::type_list and auxiliary type traits.
constexpr auto all
A view adaptor that behaves like std::view:all, but type erases contiguous ranges.
Definition: view_all.hpp:160
::ranges::size size
Alias for ranges::size. Obtains the size of a range whose size can be calculated in constant time...
Definition: ranges:189
The main SeqAn3 namespace.
::ranges::data data
Alias for ranges::data. Returns a pointer the block of data of a ContiguousRange. ...
Definition: ranges:184
Additional non-standard concepts for ranges.
Auxiliary header for the view submodule .
::ranges::iterator_t iterator_t
Alias for ranges::iterator_t. Obtains the iterator type of a range.
Definition: ranges:204
Adaptations of concepts from the Ranges TS.
::ranges::begin begin
Alias for ranges::begin. Returns an iterator to the beginning of a range.
Definition: ranges:174
The SeqAn3 namespace for views.
Provides std::span from the C++20 standard library.
Specifies requirements of a Range type for which begin returns a type that models std::RandomAccessIt...
Specifies the requirements of a Range type that is either a std::ranges::View or an lvalue-reference...
Definition: aligned_sequence_concept.hpp:35
Specifies the requirements of a Range type that knows its size in constant time with the size functio...