#include "support/pstl_test_config.h"
#include <iterator>
#include <execution>
#include <numeric>
#include "support/utils.h"
usingnamespaceTestUtils;
template <typename T>
struct wrapper
{ … };
template <typename T>
bool
compare(const T& a, const T& b)
{ … }
template <typename T>
bool
compare(const wrapper<T>& a, const wrapper<T>& b)
{ … }
template <typename Iterator1, typename Iterator2, typename T, typename Function>
typename std::enable_if<!std::is_floating_point<T>::value, bool>::type
compute_and_check(Iterator1 first, Iterator1 last, Iterator2 d_first, T, Function f)
{ … }
template <typename Iterator1, typename Iterator2, typename T, typename Function>
typename std::enable_if<std::is_floating_point<T>::value, bool>::type compute_and_check(Iterator1, Iterator1, Iterator2,
T, Function)
{ … }
struct test_one_policy
{ … };
template <typename T1, typename T2, typename Pred>
void
test(Pred pred)
{ … }
int
main()
{ … }