Home
last modified time | relevance | path

Searched defs:NonTrivialInt (Results 1 – 2 of 2) sorted by relevance

/llvm-project/libcxx/test/std/algorithms/alg.sorting/alg.min.max/
H A Dranges.min.pass.cpp183 struct NonTrivialInt { in test_range() struct
184 int val_; in test_range()
185 constexpr NonTrivialInt(int val) : val_(val) {} in test_range() function
186 constexpr NonTrivialInt(const NonTrivialInt& other) : val_(other.val_) {} in test_range() function
187 constexpr NonTrivialInt& operator=(const NonTrivialInt& other) { in test_range()
192 constexpr ~NonTrivialInt() {} in test_range()
H A Dranges.max.pass.cpp188 struct NonTrivialInt { in test_range() struct
189 int val_; in test_range()
190 constexpr NonTrivialInt(int val) : val_(val) {} in test_range() function
191 constexpr NonTrivialInt(const NonTrivialInt& other) : val_(other.val_) {} in test_range() function
192 constexpr NonTrivialInt& operator=(const NonTrivialInt& other) { in test_range()
197 constexpr ~NonTrivialInt() {} in test_range()