@@ -36,26 +36,26 @@ template <class _Tp, class _Alloc,
36
36
class _RawAlloc = typename remove_reference<_Alloc>::type,
37
37
bool = __has_pointer<_RawAlloc>::value>
38
38
struct __pointer {
39
- using type _LIBCPP_NODEBUG_TYPE = typename _RawAlloc::pointer;
39
+ using type _LIBCPP_NODEBUG = typename _RawAlloc::pointer;
40
40
};
41
41
template <class _Tp , class _Alloc , class _RawAlloc >
42
42
struct __pointer <_Tp, _Alloc, _RawAlloc, false > {
43
- using type _LIBCPP_NODEBUG_TYPE = _Tp*;
43
+ using type _LIBCPP_NODEBUG = _Tp*;
44
44
};
45
45
46
46
// __const_pointer
47
47
_LIBCPP_ALLOCATOR_TRAITS_HAS_XXX (__has_const_pointer, const_pointer);
48
48
template <class _Tp , class _Ptr , class _Alloc ,
49
49
bool = __has_const_pointer<_Alloc>::value>
50
50
struct __const_pointer {
51
- using type _LIBCPP_NODEBUG_TYPE = typename _Alloc::const_pointer;
51
+ using type _LIBCPP_NODEBUG = typename _Alloc::const_pointer;
52
52
};
53
53
template <class _Tp , class _Ptr , class _Alloc >
54
54
struct __const_pointer <_Tp, _Ptr, _Alloc, false > {
55
55
#ifdef _LIBCPP_CXX03_LANG
56
56
using type = typename pointer_traits<_Ptr>::template rebind<const _Tp>::other;
57
57
#else
58
- using type _LIBCPP_NODEBUG_TYPE = typename pointer_traits<_Ptr>::template rebind<const _Tp>;
58
+ using type _LIBCPP_NODEBUG = typename pointer_traits<_Ptr>::template rebind<const _Tp>;
59
59
#endif
60
60
};
61
61
@@ -64,14 +64,14 @@ _LIBCPP_ALLOCATOR_TRAITS_HAS_XXX(__has_void_pointer, void_pointer);
64
64
template <class _Ptr , class _Alloc ,
65
65
bool = __has_void_pointer<_Alloc>::value>
66
66
struct __void_pointer {
67
- using type _LIBCPP_NODEBUG_TYPE = typename _Alloc::void_pointer;
67
+ using type _LIBCPP_NODEBUG = typename _Alloc::void_pointer;
68
68
};
69
69
template <class _Ptr , class _Alloc >
70
70
struct __void_pointer <_Ptr, _Alloc, false > {
71
71
#ifdef _LIBCPP_CXX03_LANG
72
- using type _LIBCPP_NODEBUG_TYPE = typename pointer_traits<_Ptr>::template rebind<void >::other;
72
+ using type _LIBCPP_NODEBUG = typename pointer_traits<_Ptr>::template rebind<void >::other;
73
73
#else
74
- using type _LIBCPP_NODEBUG_TYPE = typename pointer_traits<_Ptr>::template rebind<void >;
74
+ using type _LIBCPP_NODEBUG = typename pointer_traits<_Ptr>::template rebind<void >;
75
75
#endif
76
76
};
77
77
@@ -80,14 +80,14 @@ _LIBCPP_ALLOCATOR_TRAITS_HAS_XXX(__has_const_void_pointer, const_void_pointer);
80
80
template <class _Ptr , class _Alloc ,
81
81
bool = __has_const_void_pointer<_Alloc>::value>
82
82
struct __const_void_pointer {
83
- using type _LIBCPP_NODEBUG_TYPE = typename _Alloc::const_void_pointer;
83
+ using type _LIBCPP_NODEBUG = typename _Alloc::const_void_pointer;
84
84
};
85
85
template <class _Ptr , class _Alloc >
86
86
struct __const_void_pointer <_Ptr, _Alloc, false > {
87
87
#ifdef _LIBCPP_CXX03_LANG
88
- using type _LIBCPP_NODEBUG_TYPE = typename pointer_traits<_Ptr>::template rebind<const void >::other;
88
+ using type _LIBCPP_NODEBUG = typename pointer_traits<_Ptr>::template rebind<const void >::other;
89
89
#else
90
- using type _LIBCPP_NODEBUG_TYPE = typename pointer_traits<_Ptr>::template rebind<const void >;
90
+ using type _LIBCPP_NODEBUG = typename pointer_traits<_Ptr>::template rebind<const void >;
91
91
#endif
92
92
};
93
93
@@ -97,18 +97,18 @@ template <class _Alloc, class _DiffType, bool = __has_size_type<_Alloc>::value>
97
97
struct __size_type : make_unsigned<_DiffType> { };
98
98
template <class _Alloc , class _DiffType >
99
99
struct __size_type <_Alloc, _DiffType, true > {
100
- using type _LIBCPP_NODEBUG_TYPE = typename _Alloc::size_type;
100
+ using type _LIBCPP_NODEBUG = typename _Alloc::size_type;
101
101
};
102
102
103
103
// __alloc_traits_difference_type
104
104
_LIBCPP_ALLOCATOR_TRAITS_HAS_XXX (__has_alloc_traits_difference_type, difference_type);
105
105
template <class _Alloc , class _Ptr , bool = __has_alloc_traits_difference_type<_Alloc>::value>
106
106
struct __alloc_traits_difference_type {
107
- using type _LIBCPP_NODEBUG_TYPE = typename pointer_traits<_Ptr>::difference_type;
107
+ using type _LIBCPP_NODEBUG = typename pointer_traits<_Ptr>::difference_type;
108
108
};
109
109
template <class _Alloc , class _Ptr >
110
110
struct __alloc_traits_difference_type <_Alloc, _Ptr, true > {
111
- using type _LIBCPP_NODEBUG_TYPE = typename _Alloc::difference_type;
111
+ using type _LIBCPP_NODEBUG = typename _Alloc::difference_type;
112
112
};
113
113
114
114
// __propagate_on_container_copy_assignment
@@ -117,7 +117,7 @@ template <class _Alloc, bool = __has_propagate_on_container_copy_assignment<_All
117
117
struct __propagate_on_container_copy_assignment : false_type { };
118
118
template <class _Alloc >
119
119
struct __propagate_on_container_copy_assignment <_Alloc, true > {
120
- using type _LIBCPP_NODEBUG_TYPE = typename _Alloc::propagate_on_container_copy_assignment;
120
+ using type _LIBCPP_NODEBUG = typename _Alloc::propagate_on_container_copy_assignment;
121
121
};
122
122
123
123
// __propagate_on_container_move_assignment
@@ -126,7 +126,7 @@ template <class _Alloc, bool = __has_propagate_on_container_move_assignment<_All
126
126
struct __propagate_on_container_move_assignment : false_type { };
127
127
template <class _Alloc >
128
128
struct __propagate_on_container_move_assignment <_Alloc, true > {
129
- using type _LIBCPP_NODEBUG_TYPE = typename _Alloc::propagate_on_container_move_assignment;
129
+ using type _LIBCPP_NODEBUG = typename _Alloc::propagate_on_container_move_assignment;
130
130
};
131
131
132
132
// __propagate_on_container_swap
@@ -135,7 +135,7 @@ template <class _Alloc, bool = __has_propagate_on_container_swap<_Alloc>::value>
135
135
struct __propagate_on_container_swap : false_type { };
136
136
template <class _Alloc >
137
137
struct __propagate_on_container_swap <_Alloc, true > {
138
- using type _LIBCPP_NODEBUG_TYPE = typename _Alloc::propagate_on_container_swap;
138
+ using type _LIBCPP_NODEBUG = typename _Alloc::propagate_on_container_swap;
139
139
};
140
140
141
141
// __is_always_equal
@@ -144,7 +144,7 @@ template <class _Alloc, bool = __has_is_always_equal<_Alloc>::value>
144
144
struct __is_always_equal : is_empty<_Alloc> { };
145
145
template <class _Alloc >
146
146
struct __is_always_equal <_Alloc, true > {
147
- using type _LIBCPP_NODEBUG_TYPE = typename _Alloc::is_always_equal;
147
+ using type _LIBCPP_NODEBUG = typename _Alloc::is_always_equal;
148
148
};
149
149
150
150
// __allocator_traits_rebind
@@ -158,15 +158,15 @@ struct __has_rebind_other<_Tp, _Up, typename __void_t<
158
158
159
159
template <class _Tp , class _Up , bool = __has_rebind_other<_Tp, _Up>::value>
160
160
struct __allocator_traits_rebind {
161
- using type _LIBCPP_NODEBUG_TYPE = typename _Tp::template rebind<_Up>::other;
161
+ using type _LIBCPP_NODEBUG = typename _Tp::template rebind<_Up>::other;
162
162
};
163
163
template <template <class , class ...> class _Alloc , class _Tp , class ..._Args, class _Up >
164
164
struct __allocator_traits_rebind <_Alloc<_Tp, _Args...>, _Up, true > {
165
- using type _LIBCPP_NODEBUG_TYPE = typename _Alloc<_Tp, _Args...>::template rebind<_Up>::other;
165
+ using type _LIBCPP_NODEBUG = typename _Alloc<_Tp, _Args...>::template rebind<_Up>::other;
166
166
};
167
167
template <template <class , class ...> class _Alloc , class _Tp , class ..._Args, class _Up >
168
168
struct __allocator_traits_rebind <_Alloc<_Tp, _Args...>, _Up, false > {
169
- using type _LIBCPP_NODEBUG_TYPE = _Alloc<_Up, _Args...>;
169
+ using type _LIBCPP_NODEBUG = _Alloc<_Up, _Args...>;
170
170
};
171
171
_LIBCPP_SUPPRESS_DEPRECATED_POP
172
172
@@ -352,7 +352,7 @@ struct _LIBCPP_TEMPLATE_VIS allocator_traits
352
352
template <class _Traits , class _Tp >
353
353
struct __rebind_alloc_helper {
354
354
#ifndef _LIBCPP_CXX03_LANG
355
- using type _LIBCPP_NODEBUG_TYPE = typename _Traits::template rebind_alloc<_Tp>;
355
+ using type _LIBCPP_NODEBUG = typename _Traits::template rebind_alloc<_Tp>;
356
356
#else
357
357
using type = typename _Traits::template rebind_alloc<_Tp>::other;
358
358
#endif
0 commit comments