• 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
82 template <class _Tp>
84 _Tp*
85 addressof(_Tp& __x) _NOEXCEPT
87 return (_Tp*)&reinterpret_cast<const volatile char&>(__x);
95 template <class _Tp>
97 __strong _Tp*
98 addressof(__strong _Tp& __x) _NOEXCEPT
104 template <class _Tp>
106 __weak _Tp*
107 addressof(__weak _Tp& __x) _NOEXCEPT
113 template <class _Tp>
115 __autoreleasing _Tp*
116 addressof(__autoreleasing _Tp& __x) _NOEXCEPT
121 template <class _Tp>
123 __unsafe_unretained _Tp*
124 addressof(__unsafe_unretained _Tp& __x) _NOEXCEPT
133 template <class _Tp>
143 static const bool value = !is_same<decltype(__test((_Tp*)0)), __two>::value;
144 typedef decltype(__test((_Tp*)0)) type;
147 template <class _Tp>
157 static const bool value = !is_same<decltype(__test((_Tp*)0)), __two>::value;
158 typedef decltype(__test((_Tp*)0)) type;
161 template <class _Tp, bool = __derives_from_unary_function<_Tp>::value>
163 : public __derives_from_unary_function<_Tp>::type
167 template <class _Tp>
168 struct __maybe_derive_from_unary_function<_Tp, false>
172 template <class _Tp, bool = __derives_from_binary_function<_Tp>::value>
174 : public __derives_from_binary_function<_Tp>::type
178 template <class _Tp>
179 struct __maybe_derive_from_binary_function<_Tp, false>
183 template <class _Tp, bool = __has_result_type<_Tp>::value>
185 : public __maybe_derive_from_unary_function<_Tp>,
186 public __maybe_derive_from_binary_function<_Tp>
188 typedef typename _Tp::result_type result_type;
191 template <class _Tp>
192 struct __weak_result_type_imp<_Tp, false>
193 : public __maybe_derive_from_unary_function<_Tp>,
194 public __maybe_derive_from_binary_function<_Tp>
198 template <class _Tp>
200 : public __weak_result_type_imp<_Tp>
418 template <class _Tp, class ..._Args>
421 typedef decltype(__invoke(_VSTD::declval<_Tp>(), _VSTD::declval<_Args>()...)) type;
493 template <class _Tp>
495 : public __weak_result_type<_Tp>
499 typedef _Tp type;
559 template <class _Tp> struct __is_reference_wrapper_impl : public false_type {};
560 template <class _Tp> struct __is_reference_wrapper_impl<reference_wrapper<_Tp> > : public true_type…
561 template <class _Tp> struct __is_reference_wrapper
562 : public __is_reference_wrapper_impl<typename remove_cv<_Tp>::type> {};
564 template <class _Tp>
566 reference_wrapper<_Tp>
567 ref(_Tp& __t) _NOEXCEPT
569 return reference_wrapper<_Tp>(__t);
572 template <class _Tp>
574 reference_wrapper<_Tp>
575 ref(reference_wrapper<_Tp> __t) _NOEXCEPT
580 template <class _Tp>
582 reference_wrapper<const _Tp>
583 cref(const _Tp& __t) _NOEXCEPT
585 return reference_wrapper<const _Tp>(__t);
588 template <class _Tp>
590 reference_wrapper<const _Tp>
591 cref(reference_wrapper<_Tp> __t) _NOEXCEPT
600 template <class _Tp> void ref(const _Tp&&) = delete;
601 template <class _Tp> void cref(const _Tp&&) = delete;
605 template <class _Tp> void ref(const _Tp&&);// = delete;
606 template <class _Tp> void cref(const _Tp&&);// = delete;
639 template <class _Tp>
647 static const bool value = sizeof(__test<_Tp>(0)) == 1;
650 template <class _Tp, class _Alloc, bool = __has_allocator_type<_Tp>::value>
653 is_convertible<_Alloc, typename _Tp::allocator_type>::value>
657 template <class _Tp, class _Alloc>
658 struct __uses_allocator<_Tp, _Alloc, false>
663 template <class _Tp, class _Alloc>
665 : public __uses_allocator<_Tp, _Alloc>
673 template <class _Tp, class _Alloc, class ..._Args>
676 static const bool __ua = uses_allocator<_Tp, _Alloc>::value;
678 is_constructible<_Tp, allocator_arg_t, _Alloc, _Args...>::value;
682 template <class _Tp, class _Alloc, class ..._Args>
684 : integral_constant<int, __uses_alloc_ctor_imp<_Tp, _Alloc, _Args...>::value>
687 template <class _Tp, class _Allocator, class... _Args>
689 void __user_alloc_construct_impl (integral_constant<int, 0>, _Tp *__storage, const _Allocator &, _A…
691 new (__storage) _Tp (_VSTD::forward<_Args>(__args)...);
694 template <class _Tp, class _Allocator, class... _Args>
696 void __user_alloc_construct_impl (integral_constant<int, 1>, _Tp *__storage, const _Allocator &__a,…
698 new (__storage) _Tp (allocator_arg, __a, _VSTD::forward<_Args>(__args)...);
701 template <class _Tp, class _Allocator, class... _Args>
703 void __user_alloc_construct_impl (integral_constant<int, 2>, _Tp *__storage, const _Allocator &__a,…
705 new (__storage) _Tp (_VSTD::forward<_Args>(__args)..., __a);
708 template <class _Tp, class _Allocator, class... _Args>
710 void __user_alloc_construct (_Tp *__storage, const _Allocator &__a, _Args &&... __args)
713 __uses_alloc_ctor<_Tp, _Allocator>(),