#include <array>
#include <ranges>
#include "test_iterators.h"
template <class It>
using Range = std::ranges::subrange<It, sentinel_wrapper<It>>;
template <class Val = int>
struct Pred {
bool operator()(const Val&) const;
};
template <class V, class Pred>
concept HasDropWhileView = requires { typename std::ranges::drop_while_view<V, Pred>; };
static_assert(HasDropWhileView<Range<int*>, bool (*)(int)>);
static_assert(HasDropWhileView<Range<int*>, Pred<int>>);
static_assert(!HasDropWhileView<std::array<int, 5>, Pred<int>>);
static_assert(!HasDropWhileView<Range<cpp20_output_iterator<int*>>, bool (*)(int)>);
static_assert(!HasDropWhileView<Range<int*>, Pred<int>&>);
static_assert(!HasDropWhileView<Range<int*>, int>);
static_assert(!HasDropWhileView<Range<int**>, Pred<int>>);