Home
last modified time | relevance | path

Searched refs:copy_int (Results 1 – 1 of 1) sorted by relevance

/llvm-project/pstl/test/std/algorithms/alg.modifying.operations/
H A Dreplace.pass.cpp22 struct copy_int struct
26 constexpr explicit copy_int(int32_t val = 0) : value(val) {} in copy_int() argument
27 …constexpr copy_int(copy_int const& other) : value(other.value), copied_times(other.copied_times) {… in copy_int() function
29 constexpr copy_int&
30 operator=(const copy_int& other) in operator =() argument
43 operator==(const copy_int& other) const in operator ==() argument
92 typename std::enable_if<std::is_same<T, copy_int>::value, bool>::type_t
95 return std::all_of(b, e, [](const copy_int& elem) { return elem.copied_times == 0; }); in check()
154 test<copy_int, copy_int>([](const copy_int& val) { return val.value / 5 > 2; }); in main()