• Home
  • Raw
  • Download

Lines Matching refs:_Tp

41 template <class _Tp> struct _LIBCPP_TYPE_VIS_ONLY hash;
43 template <class _Tp>
51 static const bool value = sizeof(__test<_Tp>(0)) == 1;
55 template <class _Tp = void>
57 template <class _Tp>
59 struct _LIBCPP_TYPE_VIS_ONLY less : binary_function<_Tp, _Tp, bool>
62 bool operator()(const _Tp& __x, const _Tp& __y) const
80 template <class _Tp>
82 _Tp*
83 addressof(_Tp& __x) _NOEXCEPT
85 return (_Tp*)&reinterpret_cast<const volatile char&>(__x);
93 template <class _Tp>
95 __strong _Tp*
96 addressof(__strong _Tp& __x) _NOEXCEPT
102 template <class _Tp>
104 __weak _Tp*
105 addressof(__weak _Tp& __x) _NOEXCEPT
111 template <class _Tp>
113 __autoreleasing _Tp*
114 addressof(__autoreleasing _Tp& __x) _NOEXCEPT
119 template <class _Tp>
121 __unsafe_unretained _Tp*
122 addressof(__unsafe_unretained _Tp& __x) _NOEXCEPT
136 template <class _Tp>
146 static const bool value = !is_same<decltype(__test((_Tp*)0)), __two>::value;
147 typedef decltype(__test((_Tp*)0)) type;
150 template <class _Tp>
160 static const bool value = !is_same<decltype(__test((_Tp*)0)), __two>::value;
161 typedef decltype(__test((_Tp*)0)) type;
164 template <class _Tp, bool = __derives_from_unary_function<_Tp>::value>
166 : public __derives_from_unary_function<_Tp>::type
170 template <class _Tp>
171 struct __maybe_derive_from_unary_function<_Tp, false>
175 template <class _Tp, bool = __derives_from_binary_function<_Tp>::value>
177 : public __derives_from_binary_function<_Tp>::type
181 template <class _Tp>
182 struct __maybe_derive_from_binary_function<_Tp, false>
186 template <class _Tp, bool = __has_result_type<_Tp>::value>
188 : public __maybe_derive_from_unary_function<_Tp>,
189 public __maybe_derive_from_binary_function<_Tp>
191 typedef typename _Tp::result_type result_type;
194 template <class _Tp>
195 struct __weak_result_type_imp<_Tp, false>
196 : public __maybe_derive_from_unary_function<_Tp>,
197 public __maybe_derive_from_binary_function<_Tp>
201 template <class _Tp>
203 : public __weak_result_type_imp<_Tp>
416 template <class _Tp, class ..._Args>
419 typedef decltype(__invoke(_VSTD::declval<_Tp>(), _VSTD::declval<_Args>()...)) type;
422 template <class _Tp>
424 : public __weak_result_type<_Tp>
428 typedef _Tp type;
454 template <class _Tp> struct __is_reference_wrapper_impl : public false_type {};
455 template <class _Tp> struct __is_reference_wrapper_impl<reference_wrapper<_Tp> > : public true_type…
456 template <class _Tp> struct __is_reference_wrapper
457 : public __is_reference_wrapper_impl<typename remove_cv<_Tp>::type> {};
459 template <class _Tp>
461 reference_wrapper<_Tp>
462 ref(_Tp& __t) _NOEXCEPT
464 return reference_wrapper<_Tp>(__t);
467 template <class _Tp>
469 reference_wrapper<_Tp>
470 ref(reference_wrapper<_Tp> __t) _NOEXCEPT
475 template <class _Tp>
477 reference_wrapper<const _Tp>
478 cref(const _Tp& __t) _NOEXCEPT
480 return reference_wrapper<const _Tp>(__t);
483 template <class _Tp>
485 reference_wrapper<const _Tp>
486 cref(reference_wrapper<_Tp> __t) _NOEXCEPT
494 template <class _Tp> void ref(const _Tp&&) = delete;
495 template <class _Tp> void cref(const _Tp&&) = delete;
499 template <class _Tp> void ref(const _Tp&&);// = delete;
500 template <class _Tp> void cref(const _Tp&&);// = delete;
533 template <class _Tp>
541 static const bool value = sizeof(__test<_Tp>(0)) == 1;
544 template <class _Tp, class _Alloc, bool = __has_allocator_type<_Tp>::value>
547 is_convertible<_Alloc, typename _Tp::allocator_type>::value>
551 template <class _Tp, class _Alloc>
552 struct __uses_allocator<_Tp, _Alloc, false>
557 template <class _Tp, class _Alloc>
559 : public __uses_allocator<_Tp, _Alloc>
567 template <class _Tp, class _Alloc, class ..._Args>
570 static const bool __ua = uses_allocator<_Tp, _Alloc>::value;
572 is_constructible<_Tp, allocator_arg_t, _Alloc, _Args...>::value;
576 template <class _Tp, class _Alloc, class ..._Args>
578 : integral_constant<int, __uses_alloc_ctor_imp<_Tp, _Alloc, _Args...>::value>
581 template <class _Tp, class _Allocator, class... _Args>
583 void __user_alloc_construct_impl (integral_constant<int, 0>, _Tp *__storage, const _Allocator &, _A…
585 new (__storage) _Tp (_VSTD::forward<_Args>(__args)...);
588 template <class _Tp, class _Allocator, class... _Args>
590 void __user_alloc_construct_impl (integral_constant<int, 1>, _Tp *__storage, const _Allocator &__a,…
592 new (__storage) _Tp (allocator_arg, __a, _VSTD::forward<_Args>(__args)...);
595 template <class _Tp, class _Allocator, class... _Args>
597 void __user_alloc_construct_impl (integral_constant<int, 2>, _Tp *__storage, const _Allocator &__a,…
599 new (__storage) _Tp (_VSTD::forward<_Args>(__args)..., __a);
602 template <class _Tp, class _Allocator, class... _Args>
604 void __user_alloc_construct (_Tp *__storage, const _Allocator &__a, _Args &&... __args)
607 __uses_alloc_ctor<_Tp, _Allocator>(),