Commit 9b22c09e by Benjamin Kosnik Committed by Benjamin Kosnik

allocator.h: Change ___glibcxx_base_allocator to __glibcxx_base_allocator.


2005-05-24  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/allocator.h: Change ___glibcxx_base_allocator to
	__glibcxx_base_allocator.
	* config/allocator/bitmap_allocator_base.h: Same.
	* config/allocator/malloc_allocator_base.h: Same.
	* config/allocator/mt_allocator_base.h: Same.
	* config/allocator/new_allocator_base.h: Same.
	* config/allocator/pool_allocator_base.h: Same.

From-SVN: r100111
parent bde6c65d
2005-05-24 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/allocator.h: Change ___glibcxx_base_allocator to
__glibcxx_base_allocator.
* config/allocator/bitmap_allocator_base.h: Same.
* config/allocator/malloc_allocator_base.h: Same.
* config/allocator/mt_allocator_base.h: Same.
* config/allocator/new_allocator_base.h: Same.
* config/allocator/pool_allocator_base.h: Same.
2005-05-24 Jonathan Wakely <redi@gcc.gnu.org> 2005-05-24 Jonathan Wakely <redi@gcc.gnu.org>
* include/debug/string (class basic_string): Add missing * include/debug/string (class basic_string): Add missing
......
// Base to std::allocator -*- C++ -*- // Base to std::allocator -*- C++ -*-
// Copyright (C) 2004 Free Software Foundation, Inc. // Copyright (C) 2004, 2005 Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the // software; you can redistribute it and/or modify it under the
...@@ -32,6 +32,6 @@ ...@@ -32,6 +32,6 @@
// Define bitmap_allocator as the base class to std::allocator. // Define bitmap_allocator as the base class to std::allocator.
#include <ext/bitmap_allocator.h> #include <ext/bitmap_allocator.h>
#define ___glibcxx_base_allocator __gnu_cxx::bitmap_allocator #define __glibcxx_base_allocator __gnu_cxx::bitmap_allocator
#endif #endif
// Base to std::allocator -*- C++ -*- // Base to std::allocator -*- C++ -*-
// Copyright (C) 2004 Free Software Foundation, Inc. // Copyright (C) 2004, 2005 Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the // software; you can redistribute it and/or modify it under the
...@@ -32,6 +32,6 @@ ...@@ -32,6 +32,6 @@
// Define new_allocator as the base class to std::allocator. // Define new_allocator as the base class to std::allocator.
#include <ext/malloc_allocator.h> #include <ext/malloc_allocator.h>
#define ___glibcxx_base_allocator __gnu_cxx::malloc_allocator #define __glibcxx_base_allocator __gnu_cxx::malloc_allocator
#endif #endif
// Base to std::allocator -*- C++ -*- // Base to std::allocator -*- C++ -*-
// Copyright (C) 2004 Free Software Foundation, Inc. // Copyright (C) 2004, 2005 Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the // software; you can redistribute it and/or modify it under the
...@@ -32,6 +32,6 @@ ...@@ -32,6 +32,6 @@
// Define mt_allocator as the base class to std::allocator. // Define mt_allocator as the base class to std::allocator.
#include <ext/mt_allocator.h> #include <ext/mt_allocator.h>
#define ___glibcxx_base_allocator __gnu_cxx::__mt_alloc #define __glibcxx_base_allocator __gnu_cxx::__mt_alloc
#endif #endif
// Base to std::allocator -*- C++ -*- // Base to std::allocator -*- C++ -*-
// Copyright (C) 2004 Free Software Foundation, Inc. // Copyright (C) 2004, 2005 Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the // software; you can redistribute it and/or modify it under the
...@@ -32,6 +32,6 @@ ...@@ -32,6 +32,6 @@
// Define new_allocator as the base class to std::allocator. // Define new_allocator as the base class to std::allocator.
#include <ext/new_allocator.h> #include <ext/new_allocator.h>
#define ___glibcxx_base_allocator __gnu_cxx::new_allocator #define __glibcxx_base_allocator __gnu_cxx::new_allocator
#endif #endif
// Base to std::allocator -*- C++ -*- // Base to std::allocator -*- C++ -*-
// Copyright (C) 2004 Free Software Foundation, Inc. // Copyright (C) 2004, 2005 Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the // software; you can redistribute it and/or modify it under the
...@@ -32,6 +32,6 @@ ...@@ -32,6 +32,6 @@
// Define new_allocator as the base class to std::allocator. // Define new_allocator as the base class to std::allocator.
#include <ext/pool_allocator.h> #include <ext/pool_allocator.h>
#define ___glibcxx_base_allocator __gnu_cxx::__pool_alloc #define __glibcxx_base_allocator __gnu_cxx::__pool_alloc
#endif #endif
// Allocators -*- C++ -*- // Allocators -*- C++ -*-
// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc. // Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the // software; you can redistribute it and/or modify it under the
...@@ -79,7 +79,7 @@ namespace std ...@@ -79,7 +79,7 @@ namespace std
* http://gcc.gnu.org/onlinedocs/libstdc++/20_util/allocator.html * http://gcc.gnu.org/onlinedocs/libstdc++/20_util/allocator.html
*/ */
template<typename _Tp> template<typename _Tp>
class allocator: public ___glibcxx_base_allocator<_Tp> class allocator: public __glibcxx_base_allocator<_Tp>
{ {
public: public:
typedef size_t size_type; typedef size_t size_type;
...@@ -97,7 +97,7 @@ namespace std ...@@ -97,7 +97,7 @@ namespace std
allocator() throw() { } allocator() throw() { }
allocator(const allocator& __a) throw() allocator(const allocator& __a) throw()
: ___glibcxx_base_allocator<_Tp>(__a) { } : __glibcxx_base_allocator<_Tp>(__a) { }
template<typename _Tp1> template<typename _Tp1>
allocator(const allocator<_Tp1>&) throw() { } allocator(const allocator<_Tp1>&) throw() { }
...@@ -126,7 +126,7 @@ namespace std ...@@ -126,7 +126,7 @@ namespace std
#endif #endif
// Undefine. // Undefine.
#undef ___glibcxx_base_allocator #undef __glibcxx_base_allocator
} // namespace std } // namespace std
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment