diff options
author | bernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-12-09 03:27:10 +0000 |
---|---|---|
committer | bernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-12-09 03:27:10 +0000 |
commit | 7dd11a1940b0a3707dc0b42412c41e71adc88b6d (patch) | |
tree | bf602470a3835eaf79a95b4c542242c02bafa43e /libstdc++-v3/include/backward | |
parent | 6212a52658151aba6ebbc94509fd8e2cc006ccb3 (diff) | |
download | gcc-7dd11a1940b0a3707dc0b42412c41e71adc88b6d.tar.gz |
* include/backward/algo.h, include/backward/algobase.h,
include/backward/alloc.h, include/backward/complex.h,
include/backward/defalloc.h, include/backward/function.h,
include/backward/iterator.h, include/backward/new.h,
include/backward/ostream.h, include/backward/queue.h,
include/backward/rope.h, include/backward/stream.h,
include/backward/streambuf.h, include/backward/strstream,
include/backward/tempbuf.h, include/backward/tree.h,
include/backward/vector.h: Remove trailing whitespace.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74455 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/backward')
-rw-r--r-- | libstdc++-v3/include/backward/algo.h | 118 | ||||
-rw-r--r-- | libstdc++-v3/include/backward/algobase.h | 26 | ||||
-rw-r--r-- | libstdc++-v3/include/backward/alloc.h | 12 | ||||
-rw-r--r-- | libstdc++-v3/include/backward/complex.h | 6 | ||||
-rw-r--r-- | libstdc++-v3/include/backward/defalloc.h | 22 | ||||
-rw-r--r-- | libstdc++-v3/include/backward/function.h | 114 | ||||
-rw-r--r-- | libstdc++-v3/include/backward/iterator.h | 4 | ||||
-rw-r--r-- | libstdc++-v3/include/backward/new.h | 6 | ||||
-rw-r--r-- | libstdc++-v3/include/backward/ostream.h | 2 | ||||
-rw-r--r-- | libstdc++-v3/include/backward/queue.h | 2 | ||||
-rw-r--r-- | libstdc++-v3/include/backward/rope.h | 12 | ||||
-rw-r--r-- | libstdc++-v3/include/backward/stream.h | 2 | ||||
-rw-r--r-- | libstdc++-v3/include/backward/streambuf.h | 2 | ||||
-rw-r--r-- | libstdc++-v3/include/backward/strstream | 10 | ||||
-rw-r--r-- | libstdc++-v3/include/backward/tempbuf.h | 6 | ||||
-rw-r--r-- | libstdc++-v3/include/backward/tree.h | 2 | ||||
-rw-r--r-- | libstdc++-v3/include/backward/vector.h | 2 |
17 files changed, 174 insertions, 174 deletions
diff --git a/libstdc++-v3/include/backward/algo.h b/libstdc++-v3/include/backward/algo.h index a56a1b38491..6f248356cf8 100644 --- a/libstdc++-v3/include/backward/algo.h +++ b/libstdc++-v3/include/backward/algo.h @@ -66,57 +66,57 @@ #include <ext/numeric> // Names from <stl_algo.h> -using std::for_each; -using std::find; -using std::find_if; -using std::adjacent_find; -using std::count; -using std::count_if; -using std::search; -using std::search_n; -using std::swap_ranges; -using std::transform; -using std::replace; -using std::replace_if; -using std::replace_copy; -using std::replace_copy_if; -using std::generate; -using std::generate_n; -using std::remove; -using std::remove_if; -using std::remove_copy; -using std::remove_copy_if; -using std::unique; -using std::unique_copy; -using std::reverse; -using std::reverse_copy; -using std::rotate; -using std::rotate_copy; -using std::random_shuffle; -using std::partition; -using std::stable_partition; -using std::sort; -using std::stable_sort; -using std::partial_sort; -using std::partial_sort_copy; -using std::nth_element; -using std::lower_bound; -using std::upper_bound; -using std::equal_range; -using std::binary_search; -using std::merge; -using std::inplace_merge; -using std::includes; -using std::set_union; -using std::set_intersection; -using std::set_difference; -using std::set_symmetric_difference; -using std::min_element; -using std::max_element; -using std::next_permutation; -using std::prev_permutation; -using std::find_first_of; -using std::find_end; +using std::for_each; +using std::find; +using std::find_if; +using std::adjacent_find; +using std::count; +using std::count_if; +using std::search; +using std::search_n; +using std::swap_ranges; +using std::transform; +using std::replace; +using std::replace_if; +using std::replace_copy; +using std::replace_copy_if; +using std::generate; +using std::generate_n; +using std::remove; +using std::remove_if; +using std::remove_copy; +using std::remove_copy_if; +using std::unique; +using std::unique_copy; +using std::reverse; +using std::reverse_copy; +using std::rotate; +using std::rotate_copy; +using std::random_shuffle; +using std::partition; +using std::stable_partition; +using std::sort; +using std::stable_sort; +using std::partial_sort; +using std::partial_sort_copy; +using std::nth_element; +using std::lower_bound; +using std::upper_bound; +using std::equal_range; +using std::binary_search; +using std::merge; +using std::inplace_merge; +using std::includes; +using std::set_union; +using std::set_intersection; +using std::set_difference; +using std::set_symmetric_difference; +using std::min_element; +using std::max_element; +using std::next_permutation; +using std::prev_permutation; +using std::find_first_of; +using std::find_end; // Names from stl_heap.h using std::push_heap; @@ -125,22 +125,22 @@ using std::make_heap; using std::sort_heap; // Names from stl_numeric.h -using std::accumulate; -using std::inner_product; -using std::partial_sum; -using std::adjacent_difference; +using std::accumulate; +using std::inner_product; +using std::partial_sum; +using std::adjacent_difference; // Names from ext/algorithm -using __gnu_cxx::random_sample; +using __gnu_cxx::random_sample; using __gnu_cxx::random_sample_n; -using __gnu_cxx::is_sorted; +using __gnu_cxx::is_sorted; using __gnu_cxx::is_heap; using __gnu_cxx::count; // Extension returning void using __gnu_cxx::count_if; // Extension returning void // Names from ext/numeric -using __gnu_cxx::power; -using __gnu_cxx::iota; +using __gnu_cxx::power; +using __gnu_cxx::iota; #endif /* _BACKWARD_ALGO_H */ diff --git a/libstdc++-v3/include/backward/algobase.h b/libstdc++-v3/include/backward/algobase.h index 4cf82520d64..86028a0d05c 100644 --- a/libstdc++-v3/include/backward/algobase.h +++ b/libstdc++-v3/include/backward/algobase.h @@ -64,17 +64,17 @@ #include <ext/memory> // Names from stl_algobase.h -using std::iter_swap; -using std::swap; -using std::min; -using std::max; -using std::copy; -using std::copy_backward; -using std::fill; -using std::fill_n; -using std::mismatch; -using std::equal; -using std::lexicographical_compare; +using std::iter_swap; +using std::swap; +using std::min; +using std::max; +using std::copy; +using std::copy_backward; +using std::fill; +using std::fill_n; +using std::mismatch; +using std::equal; +using std::lexicographical_compare; // Names from stl_uninitialized.h using std::uninitialized_copy; @@ -82,8 +82,8 @@ using std::uninitialized_fill; using std::uninitialized_fill_n; // Names from ext/algorithm -using __gnu_cxx::copy_n; -using __gnu_cxx::lexicographical_compare_3way; +using __gnu_cxx::copy_n; +using __gnu_cxx::lexicographical_compare_3way; // Names from ext/memory using __gnu_cxx::uninitialized_copy_n; diff --git a/libstdc++-v3/include/backward/alloc.h b/libstdc++-v3/include/backward/alloc.h index 5781192bb33..96cdd543977 100644 --- a/libstdc++-v3/include/backward/alloc.h +++ b/libstdc++-v3/include/backward/alloc.h @@ -49,11 +49,11 @@ #include <ext/debug_allocator.h> #include <ext/malloc_allocator.h> -using __gnu_cxx::__malloc_alloc; -using __gnu_cxx::__debug_alloc; -using __gnu_cxx::__pool_alloc; -using std::__alloc; -using std::__simple_alloc; +using __gnu_cxx::__malloc_alloc; +using __gnu_cxx::__debug_alloc; +using __gnu_cxx::__pool_alloc; +using std::__alloc; +using std::__simple_alloc; using std::allocator; -#endif +#endif diff --git a/libstdc++-v3/include/backward/complex.h b/libstdc++-v3/include/backward/complex.h index 589fac73fce..dfc67140655 100644 --- a/libstdc++-v3/include/backward/complex.h +++ b/libstdc++-v3/include/backward/complex.h @@ -32,9 +32,9 @@ #include <complex> using std::complex; -typedef complex<float> float_complex; -typedef complex<double> double_complex; -typedef complex<long double> long_double_complex; +typedef complex<float> float_complex; +typedef complex<double> double_complex; +typedef complex<long double> long_double_complex; #endif diff --git a/libstdc++-v3/include/backward/defalloc.h b/libstdc++-v3/include/backward/defalloc.h index 98987fd0c0f..76ea52abc9e 100644 --- a/libstdc++-v3/include/backward/defalloc.h +++ b/libstdc++-v3/include/backward/defalloc.h @@ -47,7 +47,7 @@ // This file WILL BE REMOVED in a future release. // // DO NOT USE THIS FILE unless you have an old container implementation -// that requires an allocator with the HP-style interface. +// that requires an allocator with the HP-style interface. // // Standard-conforming allocators have a very different interface. The // standard default allocator is declared in the header <memory>. @@ -59,8 +59,8 @@ #include "new.h" #include <stddef.h> #include <stdlib.h> -#include <limits.h> -#include "iostream.h" +#include <limits.h> +#include "iostream.h" #include "algobase.h" @@ -69,7 +69,7 @@ inline _Tp* allocate(ptrdiff_t __size, _Tp*) { set_new_handler(0); _Tp* __tmp = (_Tp*)(::operator new((size_t)(__size * sizeof(_Tp)))); if (__tmp == 0) { - cerr << "out of memory" << endl; + cerr << "out of memory" << endl; exit(1); } return __tmp; @@ -91,19 +91,19 @@ public: typedef const _Tp& const_reference; typedef size_t size_type; typedef ptrdiff_t difference_type; - pointer allocate(size_type __n) { + pointer allocate(size_type __n) { return ::allocate((difference_type)__n, (pointer)0); } void deallocate(pointer __p) { ::deallocate(__p); } pointer address(reference __x) { return (pointer)&__x; } - const_pointer const_address(const_reference __x) { - return (const_pointer)&__x; + const_pointer const_address(const_reference __x) { + return (const_pointer)&__x; } - size_type init_page_size() { - return max(size_type(1), size_type(4096/sizeof(_Tp))); + size_type init_page_size() { + return max(size_type(1), size_type(4096/sizeof(_Tp))); } - size_type max_size() const { - return max(size_type(1), size_type(UINT_MAX/sizeof(_Tp))); + size_type max_size() const { + return max(size_type(1), size_type(UINT_MAX/sizeof(_Tp))); } }; diff --git a/libstdc++-v3/include/backward/function.h b/libstdc++-v3/include/backward/function.h index 19f29c81326..9fc8719c07a 100644 --- a/libstdc++-v3/include/backward/function.h +++ b/libstdc++-v3/include/backward/function.h @@ -63,65 +63,65 @@ #include <ext/functional> // Names from stl_function.h -using std::unary_function; -using std::binary_function; -using std::plus; -using std::minus; -using std::multiplies; -using std::divides; -using std::modulus; -using std::negate; -using std::equal_to; -using std::not_equal_to; -using std::greater; -using std::less; -using std::greater_equal; -using std::less_equal; -using std::logical_and; -using std::logical_or; -using std::logical_not; -using std::unary_negate; -using std::binary_negate; -using std::not1; -using std::not2; -using std::binder1st; -using std::binder2nd; -using std::bind1st; -using std::bind2nd; -using std::pointer_to_unary_function; -using std::pointer_to_binary_function; -using std::ptr_fun; -using std::mem_fun_t; -using std::const_mem_fun_t; -using std::mem_fun_ref_t; -using std::const_mem_fun_ref_t; -using std::mem_fun1_t; -using std::const_mem_fun1_t; -using std::mem_fun1_ref_t; -using std::const_mem_fun1_ref_t; -using std::mem_fun; -using std::mem_fun_ref; +using std::unary_function; +using std::binary_function; +using std::plus; +using std::minus; +using std::multiplies; +using std::divides; +using std::modulus; +using std::negate; +using std::equal_to; +using std::not_equal_to; +using std::greater; +using std::less; +using std::greater_equal; +using std::less_equal; +using std::logical_and; +using std::logical_or; +using std::logical_not; +using std::unary_negate; +using std::binary_negate; +using std::not1; +using std::not2; +using std::binder1st; +using std::binder2nd; +using std::bind1st; +using std::bind2nd; +using std::pointer_to_unary_function; +using std::pointer_to_binary_function; +using std::ptr_fun; +using std::mem_fun_t; +using std::const_mem_fun_t; +using std::mem_fun_ref_t; +using std::const_mem_fun_ref_t; +using std::mem_fun1_t; +using std::const_mem_fun1_t; +using std::mem_fun1_ref_t; +using std::const_mem_fun1_ref_t; +using std::mem_fun; +using std::mem_fun_ref; // Names from ext/functional -using __gnu_cxx::identity_element; -using __gnu_cxx::unary_compose; -using __gnu_cxx::binary_compose; -using __gnu_cxx::compose1; -using __gnu_cxx::compose2; -using __gnu_cxx::identity; -using __gnu_cxx::select1st; -using __gnu_cxx::select2nd; -using __gnu_cxx::project1st; -using __gnu_cxx::project2nd; -using __gnu_cxx::constant_void_fun; -using __gnu_cxx::constant_unary_fun; -using __gnu_cxx::constant_binary_fun; -using __gnu_cxx::constant0; -using __gnu_cxx::constant1; -using __gnu_cxx::constant2; -using __gnu_cxx::subtractive_rng; -using __gnu_cxx::mem_fun1; -using __gnu_cxx::mem_fun1_ref; +using __gnu_cxx::identity_element; +using __gnu_cxx::unary_compose; +using __gnu_cxx::binary_compose; +using __gnu_cxx::compose1; +using __gnu_cxx::compose2; +using __gnu_cxx::identity; +using __gnu_cxx::select1st; +using __gnu_cxx::select2nd; +using __gnu_cxx::project1st; +using __gnu_cxx::project2nd; +using __gnu_cxx::constant_void_fun; +using __gnu_cxx::constant_unary_fun; +using __gnu_cxx::constant_binary_fun; +using __gnu_cxx::constant0; +using __gnu_cxx::constant1; +using __gnu_cxx::constant2; +using __gnu_cxx::subtractive_rng; +using __gnu_cxx::mem_fun1; +using __gnu_cxx::mem_fun1_ref; #endif /* _BACKWARD_FUNCTION_H */ diff --git a/libstdc++-v3/include/backward/iterator.h b/libstdc++-v3/include/backward/iterator.h index 4100049ee24..659176a73c5 100644 --- a/libstdc++-v3/include/backward/iterator.h +++ b/libstdc++-v3/include/backward/iterator.h @@ -116,7 +116,7 @@ template<class _Iter> using std::distance; using __gnu_cxx::distance; // 3-parameter extension -using std::advance; +using std::advance; using std::insert_iterator; using std::front_insert_iterator; @@ -145,7 +145,7 @@ template <class _Tp> inline void destroy(_Tp* __pointer) { std::_Destroy(__pointer); } - + template <class _ForwardIterator> inline void destroy(_ForwardIterator __first, _ForwardIterator __last) diff --git a/libstdc++-v3/include/backward/new.h b/libstdc++-v3/include/backward/new.h index e39f97ae6b2..00a4819a0bb 100644 --- a/libstdc++-v3/include/backward/new.h +++ b/libstdc++-v3/include/backward/new.h @@ -7,12 +7,12 @@ // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2, or (at your option) // any later version. -// +// // GCC is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. -// +// // You should have received a copy of the GNU General Public License // along with GCC; see the file COPYING. If not, write to // the Free Software Foundation, 59 Temple Place - Suite 330, @@ -39,4 +39,4 @@ using std::nothrow; using std::new_handler; using std::set_new_handler; -#endif +#endif diff --git a/libstdc++-v3/include/backward/ostream.h b/libstdc++-v3/include/backward/ostream.h index 2a65929f97a..a72de09d9eb 100644 --- a/libstdc++-v3/include/backward/ostream.h +++ b/libstdc++-v3/include/backward/ostream.h @@ -31,7 +31,7 @@ #include "backward_warning.h" #include "iostream.h" -#endif +#endif // Local Variables: // mode:C++ diff --git a/libstdc++-v3/include/backward/queue.h b/libstdc++-v3/include/backward/queue.h index e092ac27263..a3e2ff3af09 100644 --- a/libstdc++-v3/include/backward/queue.h +++ b/libstdc++-v3/include/backward/queue.h @@ -34,7 +34,7 @@ using std::queue; using std::priority_queue; -#endif +#endif // Local Variables: // mode:C++ diff --git a/libstdc++-v3/include/backward/rope.h b/libstdc++-v3/include/backward/rope.h index b6b18c2ab2b..fc6715aa750 100644 --- a/libstdc++-v3/include/backward/rope.h +++ b/libstdc++-v3/include/backward/rope.h @@ -44,14 +44,14 @@ #define _BACKWARD_ROPE_H 1 #include "backward_warning.h" -#include "hashtable.h" +#include "hashtable.h" #include <ext/rope> -using __gnu_cxx::char_producer; -using __gnu_cxx::sequence_buffer; -using __gnu_cxx::rope; -using __gnu_cxx::crope; -using __gnu_cxx::wrope; +using __gnu_cxx::char_producer; +using __gnu_cxx::sequence_buffer; +using __gnu_cxx::rope; +using __gnu_cxx::crope; +using __gnu_cxx::wrope; #endif /* _BACKWARD_ROPE_H */ diff --git a/libstdc++-v3/include/backward/stream.h b/libstdc++-v3/include/backward/stream.h index 8371b056a13..5540c7eebd1 100644 --- a/libstdc++-v3/include/backward/stream.h +++ b/libstdc++-v3/include/backward/stream.h @@ -31,7 +31,7 @@ #include "backward_warning.h" #include "iostream.h" -#endif +#endif // Local Variables: // mode:C++ diff --git a/libstdc++-v3/include/backward/streambuf.h b/libstdc++-v3/include/backward/streambuf.h index 35a3c672dd2..fc9825ef0a3 100644 --- a/libstdc++-v3/include/backward/streambuf.h +++ b/libstdc++-v3/include/backward/streambuf.h @@ -33,7 +33,7 @@ using std::streambuf; -#endif +#endif // Local Variables: // mode:C++ diff --git a/libstdc++-v3/include/backward/strstream b/libstdc++-v3/include/backward/strstream index 165c6e70dd4..695d7970db9 100644 --- a/libstdc++-v3/include/backward/strstream +++ b/libstdc++-v3/include/backward/strstream @@ -61,12 +61,12 @@ namespace std // Note that this class is not a template. class strstreambuf : public basic_streambuf<char, char_traits<char> > { - public: + public: // Types. typedef char_traits<char> _Traits; typedef basic_streambuf<char, _Traits> _Base; - public: + public: // Constructor, destructor explicit strstreambuf(streamsize __initial_capacity = 0); strstreambuf(void* (*__alloc)(size_t), void (*__free)(void*)); @@ -97,7 +97,7 @@ namespace std virtual pos_type seekpos(pos_type __pos, ios_base::openmode __mode = ios_base::in | ios_base::out); - private: + private: // Dynamic allocation, possibly using _M_alloc_fun and _M_free_fun. char* _M_alloc(size_t); void _M_free(char*); @@ -105,7 +105,7 @@ namespace std // Helper function used in constructors. void _M_setup(char* __get, char* __put, streamsize __n); - private: + private: // Data members. void* (*_M_alloc_fun)(size_t); void (*_M_free_fun)(void*); @@ -171,4 +171,4 @@ namespace std strstreambuf _M_buf; }; } // namespace std -#endif +#endif diff --git a/libstdc++-v3/include/backward/tempbuf.h b/libstdc++-v3/include/backward/tempbuf.h index 75b9b8bbe45..06de2bd39d4 100644 --- a/libstdc++-v3/include/backward/tempbuf.h +++ b/libstdc++-v3/include/backward/tempbuf.h @@ -60,9 +60,9 @@ #include "pair.h" #include "iterator.h" #include <limits.h> -#include <stddef.h> -#include <stdlib.h> -#include <bits/type_traits.h> +#include <stddef.h> +#include <stdlib.h> +#include <bits/type_traits.h> #include <bits/stl_construct.h> #include <bits/stl_uninitialized.h> #include <ext/memory> diff --git a/libstdc++-v3/include/backward/tree.h b/libstdc++-v3/include/backward/tree.h index ca3ff897594..fcfcbf48dc4 100644 --- a/libstdc++-v3/include/backward/tree.h +++ b/libstdc++-v3/include/backward/tree.h @@ -49,7 +49,7 @@ using __gnu_cxx::rb_tree; -#endif +#endif // Local Variables: // mode:C++ // End: diff --git a/libstdc++-v3/include/backward/vector.h b/libstdc++-v3/include/backward/vector.h index 961f41a7840..ba9b704c1dc 100644 --- a/libstdc++-v3/include/backward/vector.h +++ b/libstdc++-v3/include/backward/vector.h @@ -58,7 +58,7 @@ #include "backward_warning.h" #include "algobase.h" -#include "alloc.h" +#include "alloc.h" #include <vector> using std::vector; |