Home
last modified time | relevance | path

Searched refs:remove_reference (Results 1 – 25 of 69) sorted by relevance

123

/external/libcxx/include/
D__functional_base_0323 is_base_of<_Tp, typename remove_reference<_T1>::type>::value,
35 is_base_of<_Tp, typename remove_reference<_T1>::type>::value,
47 is_base_of<_Tp, typename remove_reference<_T1>::type>::value,
59 is_base_of<_Tp, typename remove_reference<_T1>::type>::value,
71 is_base_of<_Tp, typename remove_reference<_T1>::type>::value,
83 is_base_of<_Tp, typename remove_reference<_T1>::type>::value,
95 is_base_of<_Tp, typename remove_reference<_T1>::type>::value,
107 is_base_of<_Tp, typename remove_reference<_T1>::type>::value,
119 is_base_of<_Tp, typename remove_reference<_T1>::type>::value,
131 is_base_of<_Tp, typename remove_reference<_T1>::type>::value,
[all …]
Dexception196 is_class<typename remove_reference<_Tp>::type>::value &&
197 !is_base_of<nested_exception, typename remove_reference<_Tp>::type>::value
198 && !__libcpp_is_final<typename remove_reference<_Tp>::type>::value
207 throw __nested<typename remove_reference<_Tp>::type>(_VSTD::forward<_Tp>(__t));
216 !is_class<typename remove_reference<_Tp>::type>::value ||
217 is_base_of<nested_exception, typename remove_reference<_Tp>::type>::value
218 || __libcpp_is_final<typename remove_reference<_Tp>::type>::value
D__tuple237 typedef typename remove_reference<_Tp>::type _Tpr;
251 template <class _Tp, size_t _Ep = tuple_size<typename remove_reference<_Tp>::type>::value, size_t _…
284 template <class _Tp, class _Up, bool = __tuple_like<typename remove_reference<_Tp>::type>::value,
291 : public __tuple_convertible_apply<tuple_size<typename remove_reference<_Tp>::type>::value ==
321 template <class _Tp, class _Up, bool = __tuple_like<typename remove_reference<_Tp>::type>::value,
328 : public __tuple_constructible_apply<tuple_size<typename remove_reference<_Tp>::type>::value ==
358 template <class _Tp, class _Up, bool = __tuple_like<typename remove_reference<_Tp>::type>::value,
365 : public __tuple_assignable_apply<tuple_size<typename remove_reference<_Tp>::type>::value ==
Dtype_traits70 template <class T> struct remove_reference;
163 using remove_reference_t = typename remove_reference<T>::type; // C++14
610 // remove_reference
612 template <class _Tp> struct _LIBCPP_TYPE_VIS_ONLY remove_reference {typedef _Tp type;};
613 template <class _Tp> struct _LIBCPP_TYPE_VIS_ONLY remove_reference<_Tp&> {typedef _Tp type;};
615 template <class _Tp> struct _LIBCPP_TYPE_VIS_ONLY remove_reference<_Tp&&> {typedef _Tp type;};
619 template <class _Tp> using remove_reference_t = typename remove_reference<_Tp>::type;
683 {typedef typename remove_reference<_Tp>::type* type;};
773 typedef typename remove_reference<_Tp>::type _Up;
883 template <class _Tp> typename remove_reference<_Tp>::type& __source();
[all …]
/external/webrtc/webrtc/base/
Dbind.h212 typename rtc::remove_reference<P1>::type p1_;
226 typename rtc::remove_reference<P1>::type p1_;
295 typename rtc::remove_reference<P1>::type p1_;
296 typename rtc::remove_reference<P2>::type p2_;
312 typename rtc::remove_reference<P1>::type p1_;
313 typename rtc::remove_reference<P2>::type p2_;
393 typename rtc::remove_reference<P1>::type p1_;
394 typename rtc::remove_reference<P2>::type p2_;
395 typename rtc::remove_reference<P3>::type p3_;
413 typename rtc::remove_reference<P1>::type p1_;
[all …]
Dbind_unittest.cc76 rtc::remove_reference<const scoped_refptr<RefCountInterface>&>::type,
80 static_assert(is_same<rtc::remove_reference<const scoped_refptr<F>&>::type,
85 is_same<rtc::remove_reference<const int&>::type, const int>::value,
88 static_assert(is_same<rtc::remove_reference<const F&>::type, const F>::value,
91 static_assert(is_same<rtc::remove_reference<F&>::type, F>::value,
Dtemplate_util.h52 struct remove_reference {
56 struct remove_reference<T&> {
60 struct remove_reference<T&&> {
/external/clang/test/Analysis/
Ddelayed-template-parsing-crash.cpp4 template <class T> struct remove_reference {typedef T type;}; struct
5 template <class T> struct remove_reference<T&> {typedef T type;}; struct
6 template <class T> struct remove_reference<T&&> {typedef T type;}; struct
9 typename remove_reference<T>::type&& move(T&& arg) { // this used to crash in move()
10 return static_cast<typename remove_reference<T>::type&&>(arg); in move()
/external/clang/test/SemaCXX/
Drval-references-examples.cpp28 struct remove_reference { struct
33 struct remove_reference<T&> { argument
38 struct remove_reference<T&&> { argument
43 template <class T> typename remove_reference<T>::type&& move(T&& t) { in move() argument
44 return static_cast<typename remove_reference<T>::type&&>(t); in move()
47 template <class T> T&& forward(typename remove_reference<T>::type& t) { in forward()
51 template <class T> T&& forward(typename remove_reference<T>::type&& t) { in forward()
Ddiscrim-union.cpp3 template<typename T> struct remove_reference { typedef T type; }; struct
4 template<typename T> struct remove_reference<T&> { typedef T type; }; argument
5 template<typename T> struct remove_reference<T&&> { typedef T type; }; argument
7 template<typename T> constexpr T &&forward(typename remove_reference<T>::type &t) noexcept { return… in forward()
8 template<typename T> constexpr T &&forward(typename remove_reference<T>::type &&t) noexcept { retur… in forward()
9 …pename T> constexpr typename remove_reference<T>::type &&move(T &&t) noexcept { return static_cast… in move()
Dwarn-self-move.cpp6 template <class T> struct remove_reference { typedef T type; }; argument
7 template <class T> struct remove_reference<T&> { typedef T type; }; struct
8 template <class T> struct remove_reference<T&&> { typedef T type; }; struct
10 template <class T> typename remove_reference<T>::type &&move(T &&t);
Dwarn-redundant-move.cpp8 template <class T> struct remove_reference { typedef T type; }; argument
9 template <class T> struct remove_reference<T&> { typedef T type; }; struct
10 template <class T> struct remove_reference<T&&> { typedef T type; }; argument
12 template <class T> typename remove_reference<T>::type &&move(T &&t);
Dwarn-pessmizing-move.cpp7 template <class T> struct remove_reference { typedef T type; }; struct
8 template <class T> struct remove_reference<T&> { typedef T type; }; struct
9 template <class T> struct remove_reference<T&&> { typedef T type; }; argument
11 template <class T> typename remove_reference<T>::type &&move(T &&t);
Dwarn-unused-local-typedef.cpp175 struct remove_reference { typedef T type; }; struct
176 template<typename T> struct remove_reference<T&> { typedef T type; }; struct
184 remove_reference<decltype(*pointer_sneaky())>::type::t py;
/external/clang/test/CXX/over/over.match/over.match.best/over.ics.rank/
Dp3-0x.cpp39 struct remove_reference { struct
44 struct remove_reference<T&> { argument
49 struct remove_reference<T&&> { struct
54 template<typename T> int &f(typename remove_reference<T>::type&); argument
55 template<typename T> float &f(typename remove_reference<T>::type&&);
/external/clang/test/SemaCUDA/
Dimplicit-member-target.cu163 template <class T> struct remove_reference { typedef T type; }; argument
164 template <class T> struct remove_reference<T&> { typedef T type; }; argument
165 template <class T> struct remove_reference<T&&> { typedef T type; }; struct
167 template <class T> typename remove_reference<T>::type&& move(T&& t);
/external/llvm/include/llvm/Support/
DErrorOr.h28 , typename std::remove_reference<V>::type>::type &&
35 , typename std::remove_reference<V>::type>::type &
85 typedef ReferenceStorage<typename std::remove_reference<T>::type> wrap;
91 typedef typename std::remove_reference<T>::type &reference;
92 typedef const typename std::remove_reference<T>::type &const_reference;
93 typedef typename std::remove_reference<T>::type *pointer;
94 typedef const typename std::remove_reference<T>::type *const_pointer;
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
Dp11-1y.cpp68 template<typename T> struct remove_reference { typedef T type; }; struct
69 template<typename T> struct remove_reference<T&> { typedef T type; }; argument
70 template<typename T> decltype(auto) move(T &&t) { return static_cast<typename remove_reference<T>::… in move()
/external/clang/test/CodeGenObjCXX/
Darc-move.mm15 struct remove_reference { struct
20 struct remove_reference<T&> { argument
25 struct remove_reference<T&&> { struct
30 typename remove_reference<T>::type&& move(T &&x) {
31 return static_cast<typename remove_reference<T>::type&&>(x);
/external/clang/test/Modules/Inputs/submodules/
Dtype_traits.h2 struct remove_reference { struct
7 struct remove_reference<T&> { argument
/external/clang/test/SemaTemplate/
Ddeduction-crash.cpp63 template <class > struct remove_reference ;
64 template <class _Tp> struct remove_reference<_Tp&> ;
68 template <class _Tp, class _Up, int = __tuple_like<typename remove_reference<_Tp>::type>::value>
Dtemp_class_spec.cpp85 struct remove_reference { struct
90 struct remove_reference<T&> { struct
94 int remove_ref0[is_same<remove_reference<int>::type, int>::value? 1 : -1]; argument
95 int remove_ref1[is_same<remove_reference<int&>::type, int>::value? 1 : -1];
/external/clang/test/Modules/
Dsubmodules.cpp10 remove_reference<int&>::type *int_ptr = 0; // expected-error{{declaration of 'remove_reference' mus…
17 remove_reference<int&>::type *int_ptr2 = 0;
/external/eigen/Eigen/src/Core/
DCwiseBinaryOp.h65 typedef typename remove_reference<LhsNested>::type _LhsNested;
66 typedef typename remove_reference<RhsNested>::type _RhsNested;
122 typedef typename internal::remove_reference<LhsNested>::type _LhsNested;
123 typedef typename internal::remove_reference<RhsNested>::type _RhsNested;
/external/google-breakpad/src/testing/include/gmock/internal/
Dgmock-internal-utils.h348 template <typename T> struct remove_reference { typedef T type; }; // NOLINT
349 template <typename T> struct remove_reference<T&> { typedef T type; }; // NOLINT
357 return const_cast<typename remove_reference<T>::type&>(
358 *static_cast<volatile typename remove_reference<T>::type*>(NULL));

123