algo.h, [...]: Remove trailing whitespace.
authorBernardo Innocenti <bernie@develer.com>
Tue, 9 Dec 2003 03:27:10 +0000 (04:27 +0100)
committerBernardo Innocenti <bernie@gcc.gnu.org>
Tue, 9 Dec 2003 03:27:10 +0000 (04:27 +0100)
* 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.

From-SVN: r74455

18 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/include/backward/algo.h
libstdc++-v3/include/backward/algobase.h
libstdc++-v3/include/backward/alloc.h
libstdc++-v3/include/backward/complex.h
libstdc++-v3/include/backward/defalloc.h
libstdc++-v3/include/backward/function.h
libstdc++-v3/include/backward/iterator.h
libstdc++-v3/include/backward/new.h
libstdc++-v3/include/backward/ostream.h
libstdc++-v3/include/backward/queue.h
libstdc++-v3/include/backward/rope.h
libstdc++-v3/include/backward/stream.h
libstdc++-v3/include/backward/streambuf.h
libstdc++-v3/include/backward/strstream
libstdc++-v3/include/backward/tempbuf.h
libstdc++-v3/include/backward/tree.h
libstdc++-v3/include/backward/vector.h

index 62124ecde9af2d2f1b98e9cb80af67589e8e502e..6ad22d7333135d14e8156625a9fc03b16136f1b7 100644 (file)
@@ -1,3 +1,15 @@
+2003-12-09  Bernardo Innocenti  <bernie@develer.com>
+
+       * 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.
+
 2003-12-08  Paolo Carlini  <pcarlini@suse.de>
 
        * config/locale/generic/c_locale.cc (__convert_to_v(long&),
index a56a1b384918c3cecdeb3243c4b38261a56d10a1..6f248356cf8ec4843282ef8558d3aaff36d3314e 100644 (file)
 #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 */
 
index 4cf82520d647224dde58ba2c0dc901d798b8631a..86028a0d05c0a8eaaa40a60c19ca0493e4bccaaa 100644 (file)
 #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;
index 5781192bb332b88d4ab901c53edbb517b9206ebb..96cdd54397704e7cabccfb6b9b7bc78f7650da56 100644 (file)
 #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
index 589fac73fce33c507b26180d660624f333406eb7..dfc67140655dbac9392b5a7f9d7e9d46f8627209 100644 (file)
@@ -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
 
index 98987fd0c0f6a3ce055d89b58e4fd172cd616993..76ea52abc9e282cbdc0bf835e8d07d601ed06979 100644 (file)
@@ -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)));
     }
 };
 
index 19f29c81326eab6a016f2bffa8dff92a270103bd..9fc8719c07a1a1177fd0106aa5d3ea0af46a24a3 100644 (file)
 #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 */
 
index 4100049ee242c4f8189770506b2a584b41f30ed8..659176a73c5eca887e67fd82ee00745a01b0da49 100644 (file)
@@ -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)
index e39f97ae6b2698de64307ef6e4dc13ba9b3998a6..00a4819a0bb26d35a40edde29e9a67bfc8870054 100644 (file)
@@ -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
index 2a65929f97a27d0fcc6bd21ad0b6df0e7c0b6b3a..a72de09d9eb2508792af7a707277f195994d7d7c 100644 (file)
@@ -31,7 +31,7 @@
 #include "backward_warning.h"
 #include "iostream.h"
 
-#endif 
+#endif
 
 // Local Variables:
 // mode:C++
index e092ac27263f351d3a2ac91db817a0defd0b14de..a3e2ff3af091b710f17becd638b45e34ad424440 100644 (file)
@@ -34,7 +34,7 @@
 using std::queue;
 using std::priority_queue;
 
-#endif 
+#endif
 
 // Local Variables:
 // mode:C++
index b6b18c2ab2bc24cd77c51fed0febc51f21d68c3d..fc6715aa750cfd98c0b55631790f80229ca6b424 100644 (file)
 #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 */
 
index 8371b056a133caa0e13bb89d9fdb655c09b661cb..5540c7eebd1608b61b90f407f9e170dc3dc8b717 100644 (file)
@@ -31,7 +31,7 @@
 #include "backward_warning.h"
 #include "iostream.h"
 
-#endif 
+#endif
 
 // Local Variables:
 // mode:C++
index 35a3c672dd22a8d1864b59a362da25449c69629d..fc9825ef0a3f7686ea3a44489c04b4bf2fb25b72 100644 (file)
@@ -33,7 +33,7 @@
 
 using std::streambuf;
 
-#endif 
+#endif
 
 // Local Variables:
 // mode:C++
index 165c6e70dd4a1316f3b55dc578c8cca7ebd73735..695d7970db91fdafd1a1ece0b2e93d7211d5f048 100644 (file)
@@ -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
index 75b9b8bbe45f058c61aff3464b82729aa13bcb06..06de2bd39d478a23f783f8811892a78d80b5b4df 100644 (file)
@@ -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>
index ca3ff89759446b0cf3425a0e7bc6c5179d1e160d..fcfcbf48dc478f5a68102e53535c0c2d12d5e96d 100644 (file)
@@ -49,7 +49,7 @@
 
 using __gnu_cxx::rb_tree;
 
-#endif 
+#endif
 // Local Variables:
 // mode:C++
 // End:
index 961f41a7840bfdec33ed72cfcf0bea8a7c0fb114..ba9b704c1dc155590be19f5391406620971f0a0c 100644 (file)
@@ -58,7 +58,7 @@
 
 #include "backward_warning.h"
 #include "algobase.h"
-#include "alloc.h"  
+#include "alloc.h"
 #include <vector>
 
 using std::vector;