5 #ifndef VCCC_RANGES_VIEWS_DROP_WHILE_VIEW_HPP_
6 #define VCCC_RANGES_VIEWS_DROP_WHILE_VIEW_HPP_
32 template<
typename V,
typename Pred>
46 constexpr V
base() const& {
51 return std::move(base_);
54 constexpr
const Pred&
pred()
const {
62 return *cached_begin_;
65 constexpr
auto end() {
73 non_propagating_cache<begin_type> cached_begin_;
76 #if __cplusplus >= 201703L
78 template<
typename R,
typename Pred>
79 drop_while_view(R&&, Pred) -> drop_while_view<views::all_t<R>, Pred>;
83 template<
typename R,
typename Pred, std::enable_if_t<conjunction<
84 has_typename_type<views::detail::all_t_impl<R>>,
91 template<
typename T,
typename Pred>
Definition: drop_while_view.hpp:33
constexpr V base() const &
Definition: drop_while_view.hpp:46
constexpr auto begin()
Definition: drop_while_view.hpp:58
constexpr const Pred & pred() const
Definition: drop_while_view.hpp:54
constexpr V base() &&
Definition: drop_while_view.hpp:50
constexpr drop_while_view(V base, Pred pred)
Definition: drop_while_view.hpp:42
constexpr auto end()
Definition: drop_while_view.hpp:65
drop_while_view()=default
helper class template for defining a view, using the curiously recurring template pattern
Definition: view_interface.hpp:78
constexpr VCCC_INLINE_OR_STATIC detail::find_if_not_niebloid find_if_not
Definition: find_if_not.hpp:51
typename ranges::iterator< T >::type iterator_t
Definition: iterator_t.hpp:32
constexpr auto make_drop_while_view(R &&r, Pred &&pred)
Definition: drop_while_view.hpp:87
constexpr VCCC_INLINE_OR_STATIC detail::end_niebloid end
returns a sentinel indicating the end of a range
Definition: end.hpp:120
Definition: matrix.hpp:495
Definition: directory.h:12
constexpr VCCC_INLINE_OR_STATIC detail::element_niebloid< 1 > value
Definition: key_value.hpp:35
specifies that a callable type, when invoked with the result of dereferencing an indirectly_readable ...
Definition: indirect_unary_predicate.hpp:49
Definition: enable_borrowed_range.hpp:17
specifies that a range is a view, that is, it has constant time copy/move/assignment
Definition: view.hpp:31