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 D | ranges.reverse_copy.pass.cpp | 110 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 D | ranges.rotate_copy.pass.cpp | 123 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()
|