2008-11-07 16:44:35 +01:00
|
|
|
// <extptr_allocator.h> -*- C++ -*-
|
|
|
|
|
2019-01-01 13:31:55 +01:00
|
|
|
// Copyright (C) 2008-2019 Free Software Foundation, Inc.
|
2008-11-07 16:44:35 +01:00
|
|
|
//
|
|
|
|
// 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
|
|
|
|
// terms of the GNU General Public License as published by the
|
2009-04-09 17:00:19 +02:00
|
|
|
// Free Software Foundation; either version 3, or (at your option)
|
2008-11-07 16:44:35 +01:00
|
|
|
// any later version.
|
|
|
|
|
|
|
|
// This library 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.
|
|
|
|
|
2009-04-09 17:00:19 +02:00
|
|
|
// Under Section 7 of GPL version 3, you are granted additional
|
|
|
|
// permissions described in the GCC Runtime Library Exception, version
|
|
|
|
// 3.1, as published by the Free Software Foundation.
|
|
|
|
|
|
|
|
// You should have received a copy of the GNU General Public License and
|
|
|
|
// a copy of the GCC Runtime Library Exception along with this program;
|
|
|
|
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
|
|
|
// <http://www.gnu.org/licenses/>.
|
2008-11-07 16:44:35 +01:00
|
|
|
|
|
|
|
/**
|
2010-12-19 10:21:16 +01:00
|
|
|
* @file ext/extptr_allocator.h
|
|
|
|
* This file is a GNU extension to the Standard C++ Library.
|
|
|
|
*
|
|
|
|
* @author Bob Walters
|
2008-11-07 16:44:35 +01:00
|
|
|
*
|
|
|
|
* An example allocator which uses an alternative pointer type from
|
|
|
|
* bits/pointer.h. Supports test cases which confirm container support
|
|
|
|
* for alternative pointers.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _EXTPTR_ALLOCATOR_H
|
|
|
|
#define _EXTPTR_ALLOCATOR_H 1
|
|
|
|
|
|
|
|
#include <memory>
|
2011-06-08 14:12:00 +02:00
|
|
|
#include <ext/numeric_traits.h>
|
2008-11-07 16:44:35 +01:00
|
|
|
#include <ext/pointer.h>
|
|
|
|
|
PR libstdc++/36104 part four
2011-01-30 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/36104 part four
* include/bits/c++config (_GLIBCXX_STD): Remove.
(_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C.
(_GLIBCXX_P): Now _GLIBCXX_STD_A.
(_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL,
_GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove.
(_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL,
_GLIBCXX_INLINE_PROFILE): Remove.
(_GLIBCXX_BEGIN_NAMESPACE(X)): Remove.
(_GLIBCXX_END_NAMESPACE): Remove.
(_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove.
(_GLIBCXX_END_NESTED_NAMESPACE): Remove.
(_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add.
(_GLIBCXX_END_NAMESPACE_ALGO): Add.
(_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add.
(_GLIBCXX_END_NAMESPACE_CONTAINER): Add.
(_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add.
(_GLIBCXX_END_NAMESPACE_VERSION): Add.
(_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL.
(_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL.
(_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY.
* include/*: Use new macros for namespace scope.
* config/*: Same.
* src/*: Same.
* src/Makefile.am (sources): Remove debug_list.cc, add
compatibility-debug_list-2.cc.
(parallel_sources): Remove parallel_list.cc, add
compatibility-parallel_list-2.cc.
(compatibility-parallel_list-2.[o,lo]): New rule.
* src/Makefile.in: Regenerate.
* src/debug_list.cc: Remove.
* src/parallel_list.cc: Remove.
* src/compatibility-list-2.cc: New.
* src/compatibility-debug_list-2.cc: New.
* src/compatibility-parallel_list-2.cc: New.
* doc/doxygen/user.cfg.in: Adjust macros.
* testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros.
* testsuite/20_util/declval/requirements/1_neg.cc: Same.
* testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
* testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
* testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
* testsuite/20_util/forward/c_neg.cc: Same.
* testsuite/20_util/forward/f_neg.cc: Same.
* testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
* testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
* testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
* testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
* testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
* testsuite/23_containers/deque/requirements/dr438/
constructor_1_neg.cc: Same.
* testsuite/23_containers/deque/requirements/dr438/
constructor_2_neg.cc: Same.
* testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
* testsuite/23_containers/forward_list/capacity/1.cc: Same.
* testsuite/23_containers/forward_list/requirements/dr438/
assign_neg.cc: Same.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor_1_neg.cc: Same.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor_2_neg.cc: Same.
* testsuite/23_containers/forward_list/requirements/dr438/
insert_neg.cc: Same.
* testsuite/23_containers/list/capacity/29134.cc: Same.
* testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
* testsuite/23_containers/list/requirements/dr438/
constructor_1_neg.cc: Same.
* testsuite/23_containers/list/requirements/dr438/
constructor_2_neg.cc: Same.
* testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
* testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
* testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same.
* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
* testsuite/23_containers/vector/requirements/dr438/
constructor_1_neg.cc: Same.
* testsuite/23_containers/vector/requirements/dr438/
constructor_2_neg.cc: Same.
* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
* testsuite/25_algorithms/sort/35588.cc: Same.
* testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
* testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
* testsuite/ext/profile/mutex_extensions_neg.cc: Same.
* testsuite/ext/profile/profiler_algos.cc: Same.
* testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
* testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
* testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
* testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same.
* testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
From-SVN: r169421
2011-01-30 23:39:36 +01:00
|
|
|
namespace __gnu_cxx _GLIBCXX_VISIBILITY(default)
|
|
|
|
{
|
|
|
|
_GLIBCXX_BEGIN_NAMESPACE_VERSION
|
2008-11-07 16:44:35 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief An example allocator which uses a non-standard pointer type.
|
2009-02-21 01:45:21 +01:00
|
|
|
* @ingroup allocators
|
2008-11-07 16:44:35 +01:00
|
|
|
*
|
|
|
|
* This allocator specifies that containers use a 'relative pointer' as it's
|
2008-11-11 13:15:59 +01:00
|
|
|
* pointer type. (See ext/pointer.h) Memory allocation in this example
|
2008-11-07 16:44:35 +01:00
|
|
|
* is still performed using std::allocator.
|
|
|
|
*/
|
|
|
|
template<typename _Tp>
|
|
|
|
class _ExtPtr_allocator
|
|
|
|
{
|
|
|
|
public:
|
2008-11-11 13:15:59 +01:00
|
|
|
typedef std::size_t size_type;
|
|
|
|
typedef std::ptrdiff_t difference_type;
|
2008-11-07 16:44:35 +01:00
|
|
|
|
|
|
|
// Note the non-standard pointer types.
|
|
|
|
typedef _Pointer_adapter<_Relative_pointer_impl<_Tp> > pointer;
|
2008-11-11 13:15:59 +01:00
|
|
|
typedef _Pointer_adapter<_Relative_pointer_impl<const _Tp> >
|
|
|
|
const_pointer;
|
2008-11-07 16:44:35 +01:00
|
|
|
|
|
|
|
typedef _Tp& reference;
|
|
|
|
typedef const _Tp& const_reference;
|
|
|
|
typedef _Tp value_type;
|
|
|
|
|
|
|
|
template<typename _Up>
|
|
|
|
struct rebind
|
|
|
|
{ typedef _ExtPtr_allocator<_Up> other; };
|
|
|
|
|
2011-06-10 19:14:40 +02:00
|
|
|
_ExtPtr_allocator() _GLIBCXX_USE_NOEXCEPT
|
2008-11-07 16:44:35 +01:00
|
|
|
: _M_real_alloc() { }
|
|
|
|
|
2011-06-10 19:14:40 +02:00
|
|
|
_ExtPtr_allocator(const _ExtPtr_allocator& __rarg) _GLIBCXX_USE_NOEXCEPT
|
2008-11-07 16:44:35 +01:00
|
|
|
: _M_real_alloc(__rarg._M_real_alloc) { }
|
|
|
|
|
2008-11-11 13:15:59 +01:00
|
|
|
template<typename _Up>
|
2011-06-10 19:14:40 +02:00
|
|
|
_ExtPtr_allocator(const _ExtPtr_allocator<_Up>& __rarg)
|
|
|
|
_GLIBCXX_USE_NOEXCEPT
|
2008-11-07 16:44:35 +01:00
|
|
|
: _M_real_alloc(__rarg._M_getUnderlyingImp()) { }
|
|
|
|
|
2011-06-10 19:14:40 +02:00
|
|
|
~_ExtPtr_allocator() _GLIBCXX_USE_NOEXCEPT
|
2008-11-07 16:44:35 +01:00
|
|
|
{ }
|
|
|
|
|
2011-06-10 19:14:40 +02:00
|
|
|
pointer address(reference __x) const _GLIBCXX_NOEXCEPT
|
2010-05-21 00:35:49 +02:00
|
|
|
{ return std::__addressof(__x); }
|
2008-11-07 16:44:35 +01:00
|
|
|
|
2011-06-10 19:14:40 +02:00
|
|
|
const_pointer address(const_reference __x) const _GLIBCXX_NOEXCEPT
|
2010-05-21 00:35:49 +02:00
|
|
|
{ return std::__addressof(__x); }
|
2008-11-07 16:44:35 +01:00
|
|
|
|
2019-10-23 18:14:28 +02:00
|
|
|
_GLIBCXX_NODISCARD pointer allocate(size_type __n, const void* = 0)
|
|
|
|
{ return _M_real_alloc.allocate(__n); }
|
2008-11-07 16:44:35 +01:00
|
|
|
|
|
|
|
void deallocate(pointer __p, size_type __n)
|
|
|
|
{ _M_real_alloc.deallocate(__p.get(), __n); }
|
|
|
|
|
2011-06-10 19:14:40 +02:00
|
|
|
size_type max_size() const _GLIBCXX_USE_NOEXCEPT
|
2011-06-08 14:12:00 +02:00
|
|
|
{ return __numeric_traits<size_type>::__max / sizeof(_Tp); }
|
2008-11-07 16:44:35 +01:00
|
|
|
|
2012-11-10 18:27:22 +01:00
|
|
|
#if __cplusplus >= 201103L
|
2011-05-28 15:27:43 +02:00
|
|
|
template<typename _Up, typename... _Args>
|
2008-11-07 16:44:35 +01:00
|
|
|
void
|
2011-05-28 15:27:43 +02:00
|
|
|
construct(_Up* __p, _Args&&... __args)
|
|
|
|
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
|
|
|
|
|
2011-06-11 18:05:08 +02:00
|
|
|
template<typename... _Args>
|
|
|
|
void
|
|
|
|
construct(pointer __p, _Args&&... __args)
|
|
|
|
{ construct(__p.get(), std::forward<_Args>(__args)...); }
|
|
|
|
|
2011-05-28 15:27:43 +02:00
|
|
|
template<typename _Up>
|
|
|
|
void
|
|
|
|
destroy(_Up* __p)
|
|
|
|
{ __p->~_Up(); }
|
2011-06-11 18:05:08 +02:00
|
|
|
|
|
|
|
void destroy(pointer __p)
|
|
|
|
{ destroy(__p.get()); }
|
|
|
|
|
2011-05-28 15:27:43 +02:00
|
|
|
#else
|
2011-06-08 14:12:00 +02:00
|
|
|
|
2011-05-28 15:27:43 +02:00
|
|
|
void construct(pointer __p, const _Tp& __val)
|
|
|
|
{ ::new(__p.get()) _Tp(__val); }
|
2008-11-07 16:44:35 +01:00
|
|
|
|
|
|
|
void destroy(pointer __p)
|
|
|
|
{ __p->~_Tp(); }
|
2011-05-28 15:27:43 +02:00
|
|
|
#endif
|
2008-11-07 16:44:35 +01:00
|
|
|
|
|
|
|
template<typename _Up>
|
|
|
|
inline bool
|
|
|
|
operator==(const _ExtPtr_allocator<_Up>& __rarg)
|
|
|
|
{ return _M_real_alloc == __rarg._M_getUnderlyingImp(); }
|
|
|
|
|
|
|
|
inline bool
|
|
|
|
operator==(const _ExtPtr_allocator& __rarg)
|
|
|
|
{ return _M_real_alloc == __rarg._M_real_alloc; }
|
|
|
|
|
|
|
|
template<typename _Up>
|
|
|
|
inline bool
|
|
|
|
operator!=(const _ExtPtr_allocator<_Up>& __rarg)
|
|
|
|
{ return _M_real_alloc != __rarg._M_getUnderlyingImp(); }
|
|
|
|
|
|
|
|
inline bool
|
|
|
|
operator!=(const _ExtPtr_allocator& __rarg)
|
|
|
|
{ return _M_real_alloc != __rarg._M_real_alloc; }
|
|
|
|
|
|
|
|
template<typename _Up>
|
|
|
|
inline friend void
|
2008-11-11 13:15:59 +01:00
|
|
|
swap(_ExtPtr_allocator<_Up>&, _ExtPtr_allocator<_Up>&);
|
2008-11-07 16:44:35 +01:00
|
|
|
|
|
|
|
// A method specific to this implementation.
|
|
|
|
const std::allocator<_Tp>&
|
|
|
|
_M_getUnderlyingImp() const
|
|
|
|
{ return _M_real_alloc; }
|
|
|
|
|
|
|
|
private:
|
|
|
|
std::allocator<_Tp> _M_real_alloc;
|
|
|
|
};
|
|
|
|
|
2008-11-11 13:15:59 +01:00
|
|
|
// _ExtPtr_allocator<void> specialization.
|
|
|
|
template<>
|
|
|
|
class _ExtPtr_allocator<void>
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
typedef std::size_t size_type;
|
|
|
|
typedef std::ptrdiff_t difference_type;
|
|
|
|
typedef void value_type;
|
|
|
|
|
|
|
|
// Note the non-standard pointer types
|
|
|
|
typedef _Pointer_adapter<_Relative_pointer_impl<void> > pointer;
|
|
|
|
typedef _Pointer_adapter<_Relative_pointer_impl<const void> >
|
|
|
|
const_pointer;
|
|
|
|
|
|
|
|
template<typename _Up>
|
|
|
|
struct rebind
|
|
|
|
{ typedef _ExtPtr_allocator<_Up> other; };
|
|
|
|
|
|
|
|
private:
|
|
|
|
std::allocator<void> _M_real_alloc;
|
|
|
|
};
|
|
|
|
|
2008-11-07 16:44:35 +01:00
|
|
|
template<typename _Tp>
|
|
|
|
inline void
|
|
|
|
swap(_ExtPtr_allocator<_Tp>& __larg, _ExtPtr_allocator<_Tp>& __rarg)
|
|
|
|
{
|
2008-11-11 13:15:59 +01:00
|
|
|
std::allocator<_Tp> __tmp( __rarg._M_real_alloc );
|
2008-11-07 16:44:35 +01:00
|
|
|
__rarg._M_real_alloc = __larg._M_real_alloc;
|
2008-11-11 13:15:59 +01:00
|
|
|
__larg._M_real_alloc = __tmp;
|
2008-11-07 16:44:35 +01:00
|
|
|
}
|
|
|
|
|
PR libstdc++/36104 part four
2011-01-30 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/36104 part four
* include/bits/c++config (_GLIBCXX_STD): Remove.
(_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C.
(_GLIBCXX_P): Now _GLIBCXX_STD_A.
(_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL,
_GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove.
(_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL,
_GLIBCXX_INLINE_PROFILE): Remove.
(_GLIBCXX_BEGIN_NAMESPACE(X)): Remove.
(_GLIBCXX_END_NAMESPACE): Remove.
(_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove.
(_GLIBCXX_END_NESTED_NAMESPACE): Remove.
(_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add.
(_GLIBCXX_END_NAMESPACE_ALGO): Add.
(_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add.
(_GLIBCXX_END_NAMESPACE_CONTAINER): Add.
(_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add.
(_GLIBCXX_END_NAMESPACE_VERSION): Add.
(_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL.
(_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL.
(_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY.
* include/*: Use new macros for namespace scope.
* config/*: Same.
* src/*: Same.
* src/Makefile.am (sources): Remove debug_list.cc, add
compatibility-debug_list-2.cc.
(parallel_sources): Remove parallel_list.cc, add
compatibility-parallel_list-2.cc.
(compatibility-parallel_list-2.[o,lo]): New rule.
* src/Makefile.in: Regenerate.
* src/debug_list.cc: Remove.
* src/parallel_list.cc: Remove.
* src/compatibility-list-2.cc: New.
* src/compatibility-debug_list-2.cc: New.
* src/compatibility-parallel_list-2.cc: New.
* doc/doxygen/user.cfg.in: Adjust macros.
* testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros.
* testsuite/20_util/declval/requirements/1_neg.cc: Same.
* testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
* testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
* testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
* testsuite/20_util/forward/c_neg.cc: Same.
* testsuite/20_util/forward/f_neg.cc: Same.
* testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
* testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
* testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
* testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
* testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
* testsuite/23_containers/deque/requirements/dr438/
constructor_1_neg.cc: Same.
* testsuite/23_containers/deque/requirements/dr438/
constructor_2_neg.cc: Same.
* testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
* testsuite/23_containers/forward_list/capacity/1.cc: Same.
* testsuite/23_containers/forward_list/requirements/dr438/
assign_neg.cc: Same.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor_1_neg.cc: Same.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor_2_neg.cc: Same.
* testsuite/23_containers/forward_list/requirements/dr438/
insert_neg.cc: Same.
* testsuite/23_containers/list/capacity/29134.cc: Same.
* testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
* testsuite/23_containers/list/requirements/dr438/
constructor_1_neg.cc: Same.
* testsuite/23_containers/list/requirements/dr438/
constructor_2_neg.cc: Same.
* testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
* testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
* testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same.
* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
* testsuite/23_containers/vector/requirements/dr438/
constructor_1_neg.cc: Same.
* testsuite/23_containers/vector/requirements/dr438/
constructor_2_neg.cc: Same.
* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
* testsuite/25_algorithms/sort/35588.cc: Same.
* testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
* testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
* testsuite/ext/profile/mutex_extensions_neg.cc: Same.
* testsuite/ext/profile/profiler_algos.cc: Same.
* testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
* testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
* testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
* testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same.
* testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
From-SVN: r169421
2011-01-30 23:39:36 +01:00
|
|
|
_GLIBCXX_END_NAMESPACE_VERSION
|
|
|
|
} // namespace
|
2008-11-07 16:44:35 +01:00
|
|
|
|
|
|
|
#endif /* _EXTPTR_ALLOCATOR_H */
|