Fixing whitespace problems
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@111753 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -9,15 +9,14 @@
|
||||
|
||||
// <algorithm>
|
||||
|
||||
// template<RandomAccessIterator Iter>
|
||||
// requires ShuffleIterator<Iter> && LessThanComparable<Iter::value_type>
|
||||
// template<RandomAccessIterator Iter>
|
||||
// requires ShuffleIterator<Iter> && LessThanComparable<Iter::value_type>
|
||||
// void
|
||||
// make_heap(Iter first, Iter last);
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
|
||||
|
||||
void test(unsigned N)
|
||||
{
|
||||
int* ia = new int [N];
|
||||
|
@@ -9,8 +9,8 @@
|
||||
|
||||
// <algorithm>
|
||||
|
||||
// template<RandomAccessIterator Iter, StrictWeakOrder<auto, Iter::value_type> Compare>
|
||||
// requires ShuffleIterator<Iter> && CopyConstructible<Compare>
|
||||
// template<RandomAccessIterator Iter, StrictWeakOrder<auto, Iter::value_type> Compare>
|
||||
// requires ShuffleIterator<Iter> && CopyConstructible<Compare>
|
||||
// void
|
||||
// make_heap(Iter first, Iter last, Compare comp);
|
||||
|
||||
@@ -27,7 +27,7 @@ struct indirect_less
|
||||
{return *x < *y;}
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
|
||||
void test(unsigned N)
|
||||
{
|
||||
@@ -60,5 +60,5 @@ int main()
|
||||
assert(std::is_heap(ia, ia+N, indirect_less()));
|
||||
delete [] ia;
|
||||
}
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
Reference in New Issue
Block a user