function object
std::ranges::views::drop
- Header
<ranges>- Draft
- [ranges.syn]
- Scope
std::ranges::views- cppreference
- <ranges> nearest page
Synopsis
inline constexpr /* implementation-defined */ drop = {};Call signatures
drop is a function object; these are its call operators as libycxx declares them, written as the functions the draft declares.
- (1)
template<class F> [[nodiscard]] constexpr auto drop( F&& f) noexcept(noexcept(bind-adaptor(*this, static_cast<F &&>(f)))) requires requires { bind-adaptor(*this, static_cast<F&&>(f)); }; - (2)
template<class E, class F> requires take-drop-args<E, F> [[nodiscard]] constexpr auto drop(E&& e, F&& f);