Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.reverse/
H A Dranges.reverse_copy.pass.cpp110 struct AssignmentCounter { in test() struct
113 constexpr AssignmentCounter(int* counter_) : counter(counter_) {} in test() function
114 constexpr AssignmentCounter& operator=(const AssignmentCounter&) { ++*counter; return *this; } in test() argument
119 AssignmentCounter a[] = {&c, &c, &c, &c}; in test()
120 AssignmentCounter b[] = {&c, &c, &c, &c}; in test()
126 AssignmentCounter a[] = {&c, &c, &c, &c}; in test()
127 AssignmentCounter b[] = {&c, &c, &c, &c}; in test()
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.rotate/
H A Dranges.rotate_copy.pass.cpp123 struct AssignmentCounter { in test() struct
126 constexpr AssignmentCounter(int* counter_) : counter(counter_) {} in test() argument
127 constexpr AssignmentCounter& operator=(const AssignmentCounter&) { ++*counter; return *this; } in test() argument
132 AssignmentCounter a[] = {&c, &c, &c, &c}; in test()
133 AssignmentCounter b[] = {&c, &c, &c, &c}; in test()
139 AssignmentCounter a[] = {&c, &c, &c, &c}; in test()
140 AssignmentCounter b[] = {&c, &c, &c, &c}; in test()