llvm/pstl/test/std/algorithms/alg.nonmodifying/nth_element.pass.cpp

// -*- C++ -*-
//===-- nth_element.pass.cpp ----------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

// UNSUPPORTED: c++03, c++11, c++14

#include "support/pstl_test_config.h"

#include <iostream>
#include <execution>
#include <algorithm>

#include "support/utils.h"

usingnamespaceTestUtils;

// User defined type with minimal requirements
template <typename T>
struct DataType
{};

template <typename T>
bool
is_equal(const DataType<T>& x, const DataType<T>& y)
{}

template <typename T>
bool
is_equal(const T& x, const T& y)
{}

struct test_one_policy
{};

template <typename T, typename Generator1, typename Generator2, typename Compare>
void
test_by_type(Generator1 generator1, Generator2 generator2, Compare comp)
{}

template <typename T>
struct test_non_const
{};

int
main()
{}