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