stl_algo.h: Minor cosmetic reformattings.

2003-09-30  Paolo Carlini  <pcarlini@unitus.it>

	* include/bits/stl_algo.h: Minor cosmetic reformattings.

From-SVN: r71950
This commit is contained in:
Paolo Carlini 2003-09-30 22:16:28 +02:00 committed by Paolo Carlini
parent d186e676b6
commit ae7c3ba55f
2 changed files with 14 additions and 10 deletions

View File

@ -1,3 +1,7 @@
2003-09-30 Paolo Carlini <pcarlini@unitus.it>
* include/bits/stl_algo.h: Minor cosmetic reformattings.
2003-09-30 Paolo Carlini <pcarlini@unitus.it>
* include/bits/stl_algo.h (search_n): Tweak, to spare the

View File

@ -1263,13 +1263,13 @@ namespace std
_ForwardIterator
unique(_ForwardIterator __first, _ForwardIterator __last)
{
// concept requirements
__glibcxx_function_requires(_Mutable_ForwardIteratorConcept<_ForwardIterator>)
__glibcxx_function_requires(_EqualityComparableConcept<
typename iterator_traits<_ForwardIterator>::value_type>)
// concept requirements
__glibcxx_function_requires(_Mutable_ForwardIteratorConcept<_ForwardIterator>)
__glibcxx_function_requires(_EqualityComparableConcept<
typename iterator_traits<_ForwardIterator>::value_type>)
__first = std::adjacent_find(__first, __last);
return std::unique_copy(__first, __last, __first);
__first = std::adjacent_find(__first, __last);
return std::unique_copy(__first, __last, __first);
}
/**
@ -1349,10 +1349,10 @@ namespace std
inline void
reverse(_BidirectionalIterator __first, _BidirectionalIterator __last)
{
// concept requirements
__glibcxx_function_requires(_Mutable_BidirectionalIteratorConcept<
_BidirectionalIterator>)
std::__reverse(__first, __last, std::__iterator_category(__first));
// concept requirements
__glibcxx_function_requires(_Mutable_BidirectionalIteratorConcept<
_BidirectionalIterator>)
std::__reverse(__first, __last, std::__iterator_category(__first));
}
/**