diff options
Diffstat (limited to 'libcxx/test/algorithms/alg.modifying.operations/alg.unique')
4 files changed, 20 insertions, 20 deletions
diff --git a/libcxx/test/algorithms/alg.modifying.operations/alg.unique/unique.pass.cpp b/libcxx/test/algorithms/alg.modifying.operations/alg.unique/unique.pass.cpp index 8582ddb139b..f31c73ff0c3 100644 --- a/libcxx/test/algorithms/alg.modifying.operations/alg.unique/unique.pass.cpp +++ b/libcxx/test/algorithms/alg.modifying.operations/alg.unique/unique.pass.cpp @@ -9,9 +9,9 @@ // <algorithm> -// template<ForwardIterator Iter> +// template<ForwardIterator Iter> // requires OutputIterator<Iter, Iter::reference> -// && EqualityComparable<Iter::value_type> +// && EqualityComparable<Iter::value_type> // Iter // unique(Iter first, Iter last); @@ -169,7 +169,7 @@ test1() assert(*ii[2] == 2); } -#endif +#endif // _LIBCPP_MOVE int main() { @@ -185,5 +185,5 @@ int main() test1<random_access_iterator<Ptr*> >(); test1<Ptr*>(); -#endif +#endif // _LIBCPP_MOVE } diff --git a/libcxx/test/algorithms/alg.modifying.operations/alg.unique/unique_copy.pass.cpp b/libcxx/test/algorithms/alg.modifying.operations/alg.unique/unique_copy.pass.cpp index 25d061dc50a..13cf4ef9726 100644 --- a/libcxx/test/algorithms/alg.modifying.operations/alg.unique/unique_copy.pass.cpp +++ b/libcxx/test/algorithms/alg.modifying.operations/alg.unique/unique_copy.pass.cpp @@ -9,11 +9,11 @@ // <algorithm> -// template<InputIterator InIter, class OutIter> -// requires OutputIterator<OutIter, RvalueOf<InIter::value_type>::type> -// && EqualityComparable<InIter::value_type> -// && HasAssign<InIter::value_type, InIter::reference> -// && Constructible<InIter::value_type, InIter::reference> +// template<InputIterator InIter, class OutIter> +// requires OutputIterator<OutIter, RvalueOf<InIter::value_type>::type> +// && EqualityComparable<InIter::value_type> +// && HasAssign<InIter::value_type, InIter::reference> +// && Constructible<InIter::value_type, InIter::reference> // OutIter // unique_copy(InIter first, InIter last, OutIter result); diff --git a/libcxx/test/algorithms/alg.modifying.operations/alg.unique/unique_copy_pred.pass.cpp b/libcxx/test/algorithms/alg.modifying.operations/alg.unique/unique_copy_pred.pass.cpp index 5acd5f4308d..873a5e8ab03 100644 --- a/libcxx/test/algorithms/alg.modifying.operations/alg.unique/unique_copy_pred.pass.cpp +++ b/libcxx/test/algorithms/alg.modifying.operations/alg.unique/unique_copy_pred.pass.cpp @@ -9,12 +9,12 @@ // <algorithm> -// template<InputIterator InIter, class OutIter, -// EquivalenceRelation<auto, InIter::value_type> Pred> -// requires OutputIterator<OutIter, RvalueOf<InIter::value_type>::type> -// && HasAssign<InIter::value_type, InIter::reference> -// && Constructible<InIter::value_type, InIter::reference> -// && CopyConstructible<Pred> +// template<InputIterator InIter, class OutIter, +// EquivalenceRelation<auto, InIter::value_type> Pred> +// requires OutputIterator<OutIter, RvalueOf<InIter::value_type>::type> +// && HasAssign<InIter::value_type, InIter::reference> +// && Constructible<InIter::value_type, InIter::reference> +// && CopyConstructible<Pred> // OutIter // unique_copy(InIter first, InIter last, OutIter result, Pred pred); diff --git a/libcxx/test/algorithms/alg.modifying.operations/alg.unique/unique_pred.pass.cpp b/libcxx/test/algorithms/alg.modifying.operations/alg.unique/unique_pred.pass.cpp index 8d456912cfd..0b921e02c75 100644 --- a/libcxx/test/algorithms/alg.modifying.operations/alg.unique/unique_pred.pass.cpp +++ b/libcxx/test/algorithms/alg.modifying.operations/alg.unique/unique_pred.pass.cpp @@ -9,9 +9,9 @@ // <algorithm> -// template<ForwardIterator Iter, EquivalenceRelation<auto, Iter::value_type> Pred> -// requires OutputIterator<Iter, RvalueOf<Iter::reference>::type> -// && CopyConstructible<Pred> +// template<ForwardIterator Iter, EquivalenceRelation<auto, Iter::value_type> Pred> +// requires OutputIterator<Iter, RvalueOf<Iter::reference>::type> +// && CopyConstructible<Pred> // Iter // unique(Iter first, Iter last, Pred pred); @@ -211,7 +211,7 @@ test1() assert(count_equal::count == si-1); } -#endif +#endif // _LIBCPP_MOVE int main() { @@ -227,5 +227,5 @@ int main() test1<random_access_iterator<Ptr*> >(); test1<Ptr*>(); -#endif +#endif // _LIBCPP_MOVE } |