29#ifndef _NEW_ALLOCATOR_H
30#define _NEW_ALLOCATOR_H 1
34namespace __gnu_cxx _GLIBCXX_VISIBILITY(default)
36_GLIBCXX_BEGIN_NAMESPACE_VERSION
54 template<
typename _Tp>
58#if __cplusplus <= 201703L
59 template<
typename _Tp1>
61 {
typedef new_allocator<_Tp1>
other; };
64 new_allocator() _GLIBCXX_USE_NOEXCEPT { }
66 new_allocator(
const new_allocator&) _GLIBCXX_USE_NOEXCEPT { }
68 template<
typename _Tp1>
69 new_allocator(
const new_allocator<_Tp1>&) _GLIBCXX_USE_NOEXCEPT { }
72_GLIBCXX_END_NAMESPACE_VERSION
GNU extensions for public use.
An allocator that uses global new, as per C++03 [20.4.1].