Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/
H A Dranges_partition.pass.cpp34 struct UnaryPred { bool operator()(int) const; }; struct
39 template <class Iter = int*, class Sent = int*, class Pred = UnaryPred>
45 static_assert(HasPartitionIter<int*, int*, UnaryPred>);
71 static_assert(HasPartitionRange<R<int*>, UnaryPred>);
74 static_assert(!HasPartitionRange<ForwardRangeNotDerivedFrom, UnaryPred>);
75 static_assert(!HasPartitionRange<ForwardRangeNotIncrementable, UnaryPred>);
82 static_assert(!HasPartitionRange<R<PermutableNotForwardIterator>, UnaryPred>);
83 static_assert(!HasPartitionRange<R<PermutableNotSwappable>, UnaryPred>);
H A Dranges_stable_partition.pass.cpp33 struct UnaryPred { bool operator()(int) const; }; struct
38 template <class Iter = int*, class Sent = int*, class Pred = UnaryPred>
44 static_assert(HasStablePartitionIter<int*, int*, UnaryPred>);
74 static_assert(HasStablePartitionRange<R<int*>, UnaryPred>);
77 static_assert(!HasStablePartitionRange<BidirectionalRangeNotDerivedFrom, UnaryPred>);
78 static_assert(!HasStablePartitionRange<BidirectionalRangeNotDecrementable, UnaryPred>);
85 static_assert(!HasStablePartitionRange<R<PermutableNotForwardIterator>, UnaryPred>);
86 static_assert(!HasStablePartitionRange<R<PermutableNotSwappable>, UnaryPred>);
H A Dranges_partition_point.pass.cpp33 struct UnaryPred { bool operator()(int) const; }; struct
38 template <class Iter = int*, class Sent = int*, class Pred = UnaryPred>
44 static_assert(HasPartitionPointIter<int*, int*, UnaryPred>);
70 static_assert(HasPartitionPointRange<R<int*>, UnaryPred>);
73 static_assert(!HasPartitionPointRange<ForwardRangeNotDerivedFrom, UnaryPred>);
74 static_assert(!HasPartitionPointRange<ForwardRangeNotIncrementable, UnaryPred>);
H A Dranges_partition_copy.pass.cpp42 struct UnaryPred { bool operator()(int) const; }; struct
47 …Iter = int*, class Sent = int*, class Output1 = int*, class Output2 = int*, class Pred = UnaryPred>
54 static_assert(HasPartitionCopyIter<int*, int*, int*, int*, UnaryPred>);
87 template <class InputRange, class Output1 = int*, class Output2 = int*, class Pred = UnaryPred>
97 static_assert(HasPartitionCopyRange<R<int*>, int*, int*, UnaryPred>);
/llvm-project-15.0.7/pstl/test/std/algorithms/alg.modifying.operations/alg.partitions/
H A Dpartition_copy.pass.cpp63 template <typename T, typename UnaryPred>
65 test(UnaryPred pred) in test()
H A Dpartition.pass.cpp129 template <typename T, typename Generator, typename UnaryPred>
131 test_by_type(Generator generator, UnaryPred pred) in test_by_type()