#include "support/pstl_test_config.h"
#include <execution>
#include <algorithm>
#include "support/utils.h"
usingnamespaceTestUtils;
#define _CRT_SECURE_NO_WARNINGS
#include <atomic>
static bool Stable;
static std::atomic<int32_t> KeyCount;
static uint32_t LastIndex;
class ParanoidKey;
static bool
Equal(const ParanoidKey& x, const ParanoidKey& y);
class ParanoidKey
{ … };
class KeyCompare
{ … };
static bool
Equal(const ParanoidKey& x, const ParanoidKey& y)
{ … }
static bool
Equal(float32_t x, float32_t y)
{ … }
static bool
Equal(int32_t x, int32_t y)
{ … }
struct test_sort_with_compare
{ … };
template <typename T, typename Compare, typename Convert>
void
test_sort(Compare compare, Convert convert)
{ … }
template <typename T>
struct test_non_const
{ … };
int
main()
{ … }