Lines Matching refs:_Up
71 template <class _Tp, class _Up>
77 template <class _Xp> static true_type __test(typename _Xp::template rebind<_Up>* = 0);
83 template <class _Tp, class _Up, bool = __has_rebind<_Tp, _Up>::value>
87 typedef _LIBCPP_NODEBUG typename _Tp::template rebind<_Up> type;
89 typedef _LIBCPP_NODEBUG typename _Tp::template rebind<_Up>::other type;
93 template <template <class, class...> class _Sp, class _Tp, class ..._Args, class _Up>
94 struct __pointer_traits_rebind<_Sp<_Tp, _Args...>, _Up, true>
97 typedef _LIBCPP_NODEBUG typename _Sp<_Tp, _Args...>::template rebind<_Up> type;
99 typedef _LIBCPP_NODEBUG typename _Sp<_Tp, _Args...>::template rebind<_Up>::other type;
103 template <template <class, class...> class _Sp, class _Tp, class ..._Args, class _Up>
104 struct __pointer_traits_rebind<_Sp<_Tp, _Args...>, _Up, false>
106 typedef _Sp<_Up, _Args...> type;
117 template <class _Up> using rebind = typename __pointer_traits_rebind<pointer, _Up>::type;
119 template <class _Up> struct rebind
120 {typedef typename __pointer_traits_rebind<pointer, _Up>::type other;};
140 template <class _Up> using rebind = _Up*;
142 template <class _Up> struct rebind {typedef _Up* other;};