Home
last modified time | relevance | path

Searched defs:BinaryTransform (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/libcxx/test/libcxx/algorithms/
H A Dranges_robust_against_copying_comparators.pass.cpp70 struct BinaryTransform { struct
72 constexpr explicit BinaryTransform(int *copies) : copies_(copies) {} in BinaryTransform() function
73 constexpr BinaryTransform(const BinaryTransform& rhs) : copies_(rhs.copies_) { *copies_ += 1; } in BinaryTransform() function
75 constexpr std::nullptr_t operator()(void*, void*) const { return nullptr; } in operator ()()
H A Drobust_against_copying_comparators.pass.cpp73 struct BinaryTransform { struct
75 TEST_CONSTEXPR explicit BinaryTransform(int *copies) : copies_(copies) {} in BinaryTransform() argument
76 …TEST_CONSTEXPR_CXX14 BinaryTransform(const BinaryTransform& rhs) : copies_(rhs.copies_) { *copies_… in BinaryTransform() function
78 TEST_CONSTEXPR T operator()(T, T) const { return 0; } in operator ()()
H A Dranges_robust_against_copying_projections.pass.cpp56 struct BinaryTransform { struct
57 constexpr T operator()(void*, void*) const { return T(); } in operator ()()
/llvm-project-15.0.7/libcxx/test/std/algorithms/
H A Drobust_against_adl.compile.pass.cpp35 struct BinaryTransform { TEST_CONSTEXPR std::nullptr_t operator()(void*, void*) const { return null… in operator ()() struct
H A Drobust_re_difference_type.compile.pass.cpp72 struct BinaryTransform { TEST_CONSTEXPR std::nullptr_t operator()(void*, void*) const { return null… in operator ()() argument