llvm/pstl/test/std/algorithms/alg.modifying.operations/alg.partitions/partition_copy.pass.cpp

// -*- C++ -*-
//===-- partition_copy.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

// Tests for stable_partition and partition_copy
#include "support/pstl_test_config.h"

#include <algorithm>
#include <cstdlib>
#include <execution>
#include <functional>
#include <iterator>

#include "support/utils.h"

usingnamespaceTestUtils;

struct test_partition_copy
{};

template <typename T, typename UnaryPred>
void
test(UnaryPred pred)
{}

struct test_non_const
{};

int
main()
{}