@@ -58,7 +58,7 @@ struct __const_pointer {
5858template <class _Tp , class _Ptr , class _Alloc >
5959struct __const_pointer <_Tp, _Ptr, _Alloc, false > {
6060#ifdef _LIBCPP_CXX03_LANG
61- using type = typename pointer_traits<_Ptr>::template rebind<const _Tp>::other;
61+ using type _LIBCPP_NODEBUG = typename pointer_traits<_Ptr>::template rebind<const _Tp>::other;
6262#else
6363 using type _LIBCPP_NODEBUG = typename pointer_traits<_Ptr>::template rebind<const _Tp>;
6464#endif
@@ -88,7 +88,7 @@ struct __const_void_pointer {
8888template <class _Ptr , class _Alloc >
8989struct __const_void_pointer <_Ptr, _Alloc, false > {
9090#ifdef _LIBCPP_CXX03_LANG
91- using type = typename pointer_traits<_Ptr>::template rebind<const void >::other;
91+ using type _LIBCPP_NODEBUG = typename pointer_traits<_Ptr>::template rebind<const void >::other;
9292#else
9393 using type _LIBCPP_NODEBUG = typename pointer_traits<_Ptr>::template rebind<const void >;
9494#endif
@@ -253,9 +253,9 @@ struct _LIBCPP_TEMPLATE_VIS allocator_traits {
253253
254254#ifndef _LIBCPP_CXX03_LANG
255255 template <class _Tp >
256- using rebind_alloc = __allocator_traits_rebind_t <allocator_type, _Tp>;
256+ using rebind_alloc _LIBCPP_NODEBUG = __allocator_traits_rebind_t <allocator_type, _Tp>;
257257 template <class _Tp >
258- using rebind_traits = allocator_traits<rebind_alloc<_Tp> >;
258+ using rebind_traits _LIBCPP_NODEBUG = allocator_traits<rebind_alloc<_Tp> >;
259259#else // _LIBCPP_CXX03_LANG
260260 template <class _Tp >
261261 struct rebind_alloc {
@@ -358,7 +358,7 @@ struct _LIBCPP_TEMPLATE_VIS allocator_traits {
358358
359359#ifndef _LIBCPP_CXX03_LANG
360360template <class _Traits , class _Tp >
361- using __rebind_alloc = typename _Traits::template rebind_alloc<_Tp>;
361+ using __rebind_alloc _LIBCPP_NODEBUG = typename _Traits::template rebind_alloc<_Tp>;
362362#else
363363template <class _Traits , class _Tp >
364364using __rebind_alloc _LIBCPP_NODEBUG = typename _Traits::template rebind_alloc<_Tp>::other;
0 commit comments