@@ -47,7 +47,7 @@ template <class _Tp>
4747using __pointer_member _LIBCPP_NODEBUG = typename _Tp::pointer;
4848
4949template <class _Tp , class _Alloc >
50- using __pointer _LIBCPP_NODEBUG = __detected_or_t <_Tp *, __pointer_member, __libcpp_remove_reference_t <_Alloc> >;
50+ using __pointer _LIBCPP_NODEBUG = __detected_or_t <_Tp*, __pointer_member, __libcpp_remove_reference_t <_Alloc> >;
5151
5252// __const_pointer
5353_LIBCPP_ALLOCATOR_TRAITS_HAS_XXX (__has_const_pointer, const_pointer);
@@ -114,31 +114,37 @@ struct __alloc_traits_difference_type<_Alloc, _Ptr, true> {
114114
115115// __propagate_on_container_copy_assignment
116116template <class _Tp >
117- using __propagate_on_container_copy_assignment_member _LIBCPP_NODEBUG = typename _Tp::propagate_on_container_copy_assignment;
117+ using __propagate_on_container_copy_assignment_member _LIBCPP_NODEBUG =
118+ typename _Tp::propagate_on_container_copy_assignment;
118119
119120template <class _Alloc >
120- using __propagate_on_container_copy_assignment _LIBCPP_NODEBUG = __detected_or_t <false_type, __propagate_on_container_copy_assignment_member, _Alloc>;
121+ using __propagate_on_container_copy_assignment _LIBCPP_NODEBUG =
122+ __detected_or_t <false_type, __propagate_on_container_copy_assignment_member, _Alloc>;
121123
122124// __propagate_on_container_move_assignment
123125template <class _Tp >
124- using __propagate_on_container_move_assignment_member _LIBCPP_NODEBUG = typename _Tp::propagate_on_container_move_assignment;
126+ using __propagate_on_container_move_assignment_member _LIBCPP_NODEBUG =
127+ typename _Tp::propagate_on_container_move_assignment;
125128
126129template <class _Alloc >
127- using __propagate_on_container_move_assignment _LIBCPP_NODEBUG = __detected_or_t <false_type, __propagate_on_container_move_assignment_member, _Alloc>;
130+ using __propagate_on_container_move_assignment _LIBCPP_NODEBUG =
131+ __detected_or_t <false_type, __propagate_on_container_move_assignment_member, _Alloc>;
128132
129133// __propagate_on_container_swap
130134template <class _Tp >
131135using __propagate_on_container_swap_member _LIBCPP_NODEBUG = typename _Tp::propagate_on_container_swap;
132136
133137template <class _Alloc >
134- using __propagate_on_container_swap _LIBCPP_NODEBUG = __detected_or_t <false_type, __propagate_on_container_swap_member, _Alloc>;
138+ using __propagate_on_container_swap _LIBCPP_NODEBUG =
139+ __detected_or_t <false_type, __propagate_on_container_swap_member, _Alloc>;
135140
136141// __is_always_equal
137142template <class _Tp >
138143using __is_always_equal_member _LIBCPP_NODEBUG = typename _Tp::is_always_equal;
139144
140145template <class _Alloc >
141- using __is_always_equal _LIBCPP_NODEBUG = __detected_or_t <typename is_empty<_Alloc>::type, __is_always_equal_member, _Alloc>;
146+ using __is_always_equal _LIBCPP_NODEBUG =
147+ __detected_or_t <typename is_empty<_Alloc>::type, __is_always_equal_member, _Alloc>;
142148
143149// __allocator_traits_rebind
144150_LIBCPP_SUPPRESS_DEPRECATED_PUSH
@@ -230,18 +236,20 @@ _LIBCPP_CTAD_SUPPORTED_FOR_TYPE(allocation_result);
230236
231237template <class _Alloc >
232238struct _LIBCPP_TEMPLATE_VIS allocator_traits {
233- using allocator_type _LIBCPP_NODEBUG = _Alloc;
234- using value_type _LIBCPP_NODEBUG = typename allocator_type::value_type;
235- using pointer _LIBCPP_NODEBUG = __pointer<value_type, allocator_type>;
236- using const_pointer _LIBCPP_NODEBUG = typename __const_pointer<value_type, pointer, allocator_type>::type;
237- using void_pointer _LIBCPP_NODEBUG = typename __void_pointer<pointer, allocator_type>::type;
238- using const_void_pointer _LIBCPP_NODEBUG = typename __const_void_pointer<pointer, allocator_type>::type;
239- using difference_type _LIBCPP_NODEBUG = typename __alloc_traits_difference_type<allocator_type, pointer>::type;
240- using size_type _LIBCPP_NODEBUG = __size_type<allocator_type, difference_type>;
241- using propagate_on_container_copy_assignment _LIBCPP_NODEBUG = __propagate_on_container_copy_assignment<allocator_type>;
242- using propagate_on_container_move_assignment _LIBCPP_NODEBUG = __propagate_on_container_move_assignment<allocator_type>;
243- using propagate_on_container_swap _LIBCPP_NODEBUG = __propagate_on_container_swap<allocator_type>;
244- using is_always_equal _LIBCPP_NODEBUG = __is_always_equal<allocator_type>;
239+ using allocator_type _LIBCPP_NODEBUG = _Alloc;
240+ using value_type _LIBCPP_NODEBUG = typename allocator_type::value_type;
241+ using pointer _LIBCPP_NODEBUG = __pointer<value_type, allocator_type>;
242+ using const_pointer _LIBCPP_NODEBUG = typename __const_pointer<value_type, pointer, allocator_type>::type;
243+ using void_pointer _LIBCPP_NODEBUG = typename __void_pointer<pointer, allocator_type>::type;
244+ using const_void_pointer _LIBCPP_NODEBUG = typename __const_void_pointer<pointer, allocator_type>::type;
245+ using difference_type _LIBCPP_NODEBUG = typename __alloc_traits_difference_type<allocator_type, pointer>::type;
246+ using size_type _LIBCPP_NODEBUG = __size_type<allocator_type, difference_type>;
247+ using propagate_on_container_copy_assignment _LIBCPP_NODEBUG =
248+ __propagate_on_container_copy_assignment<allocator_type>;
249+ using propagate_on_container_move_assignment _LIBCPP_NODEBUG =
250+ __propagate_on_container_move_assignment<allocator_type>;
251+ using propagate_on_container_swap _LIBCPP_NODEBUG = __propagate_on_container_swap<allocator_type>;
252+ using is_always_equal _LIBCPP_NODEBUG = __is_always_equal<allocator_type>;
245253
246254#ifndef _LIBCPP_CXX03_LANG
247255 template <class _Tp >
0 commit comments