#include "support/pstl_test_config.h"
#include <execution>
#include <algorithm>
#include <iterator>
#include <type_traits>
#include "support/utils.h"
usingnamespaceTestUtils;
template <typename T>
struct DataType
{ … };
template <typename Iterator>
typename std::enable_if<std::is_trivial<typename std::iterator_traits<Iterator>::value_type>::value, bool>::type
is_equal(Iterator first, Iterator last, Iterator d_first)
{ … }
template <typename Iterator>
typename std::enable_if<!std::is_trivial<typename std::iterator_traits<Iterator>::value_type>::value, bool>::type
is_equal(Iterator, Iterator, Iterator)
{ … }
struct test_one_policy
{ … };
template <typename T, typename Generator, typename UnaryPred>
void
test_by_type(Generator generator, UnaryPred pred)
{ … }
struct test_non_const
{ … };
int
main()
{ … }