diff options
author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-26 17:04:06 +0000 |
---|---|---|
committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-26 17:04:06 +0000 |
commit | 9414f705ab2a0bac189f85ed97ea08458e9d6526 (patch) | |
tree | 24be13c59d5aebac9ae986eef126d8820974d94c /libstdc++-v3/include/bits/algorithmfwd.h | |
parent | dfd4b3f5e5fdd803ab2c26232d374ced97b384d9 (diff) | |
download | gcc-9414f705ab2a0bac189f85ed97ea08458e9d6526.tar.gz |
2007-09-26 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/stl_algo.h: Add return type information to comments.
* include/bits/algorithmfwd.h: Formatting.
* testsuite/util/testsuite_hooks.h (NonDefaultConstructible): Move..
* testsuite/util/testsuite_api.h: ...here. Add necessary operators
for use in testing chapters 25 and 26.
* testsuite/util/testsuite_character.h: Same.
* testsuite/25_algorithms/*/requirements/explicit_instantiation/
2.cc, pod.cc: New.
* testsuite/26_numerics/accumulate, adjacent_difference, inner_product,
partial_sum/requirements/explicit_instantiation/2.cc, pod.cc: New.
* testsuite/26_numerics/numeric_arrays/*: Move contents into
testsuite/26_numerics.
* testsuite/26_numerics/numeric_operations: Same.
* testsuite/23_containers/*/requirements/explicit_instantiation/2.cc:
Adjust includes from testsuite_eh.h to testsuite_api.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128822 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/bits/algorithmfwd.h')
-rw-r--r-- | libstdc++-v3/include/bits/algorithmfwd.h | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/libstdc++-v3/include/bits/algorithmfwd.h b/libstdc++-v3/include/bits/algorithmfwd.h index 1b2bf23ace6..0b61864759c 100644 --- a/libstdc++-v3/include/bits/algorithmfwd.h +++ b/libstdc++-v3/include/bits/algorithmfwd.h @@ -23,7 +23,6 @@ * You should not attempt to use it directly. */ - /* adjacent_find binary_search @@ -85,7 +84,6 @@ sort_heap stable_partition stable_sort - stable_sort swap swap_ranges transform @@ -121,7 +119,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) template<typename _BIter1, typename _BIter2> _BIter2 - copy_backward (_BIter1, _BIter1, _BIter2); + copy_backward(_BIter1, _BIter1, _BIter2); // count // count_if @@ -310,7 +308,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) template<typename _FIter, typename _OIter> _OIter - rotate_copy (_FIter, _FIter, _FIter, _OIter); + rotate_copy(_FIter, _FIter, _FIter, _OIter); // search // search_n @@ -333,11 +331,11 @@ _GLIBCXX_BEGIN_NAMESPACE(std) template<typename _Tp> void - swap(_Tp&, _Tp& b); + swap(_Tp&, _Tp&); template<typename _FIter1, typename _FIter2> _FIter2 - swap_ranges(_FIter1 first1, _FIter1, _FIter2); + swap_ranges(_FIter1, _FIter1, _FIter2); // transform @@ -419,8 +417,15 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GLIBCXX_STD_P) void generate(_FIter, _FIter, _Generator); +/* + XXX NB: return type different from ISO C++. + template<typename _OIter, typename _Size, typename _Tp> + void + generate_n(_OIter, _Size, _Generator); +*/ + template<typename _OIter, typename _Size, typename _Generator> - void + _OIter generate_n(_OIter, _Size, _Generator); template<typename _IIter1, typename _IIter2> |