libycxx

function object

std::ranges::views::drop_while

Header
<ranges>
Scope
std::ranges::views
cppreference
<ranges> nearest page

Synopsis

inline constexpr /* implementation-defined */ drop_while = {};

Call signatures

drop_while is a function object; these are its call operators as libycxx declares them, written as the functions the draft declares.

  1. template<class P>
    [[nodiscard]] constexpr auto drop_while(
        P&& p) noexcept(noexcept(bind-adaptor(*this, static_cast<P &&>(p))))  requires requires { bind-adaptor(*this, static_cast<P&&>(p)); };
    (1)
  2. template<class E, class P>
      requires requires { std::ranges::drop_while_view(
        std::declval<E>(),
        std::declval<P>()); }
    [[nodiscard]] constexpr auto drop_while(E&& e, P&& p);
    (2)