Home
last modified time | relevance | path

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

123

/external/clang/test/SemaCXX/
Drval-references-examples.cpp28 struct remove_reference { struct
33 struct remove_reference<T&> { struct
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; }; struct
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; }; argument
10 template <class T> typename remove_reference<T>::type &&move(T &&t);
Dwarn-unused-local-typedef.cpp175 struct remove_reference { typedef T type; }; argument
176 template<typename T> struct remove_reference<T&> { typedef T type; }; argument
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&&> { argument
54 template<typename T> int &f(typename remove_reference<T>::type&); argument
55 template<typename T> float &f(typename remove_reference<T>::type&&);
/external/libcxx/include/
D__functional_base_0385 : public __weak_result_type_imp<typename remove_reference<_Tp>::type>
278 // : public ____ref_return0<typename remove_reference<_Tp>::type,
279 // is_class<typename remove_reference<_Tp>::type>::value>
320 // typename remove_cv<typename remove_reference<_A0>::type>::type>::value>
339 // : public ____ref_return1<typename remove_reference<_Tp>::type,
340 // is_class<typename remove_reference<_Tp>::type>::value, _A0>
374 // : public ____ref_return2<typename remove_reference<_Tp>::type,
375 // is_class<typename remove_reference<_Tp>::type>::value, _A0, _A1>
409 // : public ____ref_return3<typename remove_reference<_Tp>::type,
410 // is_class<typename remove_reference<_Tp>::type>::value, _A0, _A1, _A2>
[all …]
Dexception194 is_class<typename remove_reference<_Tp>::type>::value &&
195 !is_base_of<nested_exception, typename remove_reference<_Tp>::type>::value
204 throw __nested<typename remove_reference<_Tp>::type>(_VSTD::forward<_Tp>(__t));
213 !is_class<typename remove_reference<_Tp>::type>::value ||
214 is_base_of<nested_exception, typename remove_reference<_Tp>::type>::value
D__tuple225 typedef typename remove_reference<_Tp>::type _Tpr;
239 template <class _Tp, size_t _Ep = tuple_size<typename remove_reference<_Tp>::type>::value, size_t _…
272 template <class _Tp, class _Up, bool = __tuple_like<typename remove_reference<_Tp>::type>::value,
279 : public __tuple_convertible_apply<tuple_size<typename remove_reference<_Tp>::type>::value ==
309 template <class _Tp, class _Up, bool = __tuple_like<typename remove_reference<_Tp>::type>::value,
316 : public __tuple_constructible_apply<tuple_size<typename remove_reference<_Tp>::type>::value ==
346 template <class _Tp, class _Up, bool = __tuple_like<typename remove_reference<_Tp>::type>::value,
353 : public __tuple_assignable_apply<tuple_size<typename remove_reference<_Tp>::type>::value ==
Dtype_traits65 template <class T> struct remove_reference;
158 using remove_reference_t = typename remove_reference<T>::type; // C++14
600 // remove_reference
602 template <class _Tp> struct _LIBCPP_TYPE_VIS_ONLY remove_reference {typedef _Tp type;};
603 template <class _Tp> struct _LIBCPP_TYPE_VIS_ONLY remove_reference<_Tp&> {typedef _Tp type;};
605 template <class _Tp> struct _LIBCPP_TYPE_VIS_ONLY remove_reference<_Tp&&> {typedef _Tp type;};
609 template <class _Tp> using remove_reference_t = typename remove_reference<_Tp>::type;
673 {typedef typename remove_reference<_Tp>::type* type;};
763 typedef typename remove_reference<_Tp>::type _Up;
856 template <class _Tp> typename remove_reference<_Tp>::type& __source();
[all …]
Dtuple226 is_same<typename remove_reference<_Tp>::type,
228 typename remove_reference<_Hp>::type
242 is_same<typename remove_reference<_Tp>::type,
244 typename remove_reference<_Hp>::type
256 is_same<typename remove_reference<_Tp>::type,
258 typename remove_reference<_Hp>::type
270 is_same<typename remove_reference<_Tp>::type,
272 typename remove_reference<_Hp>::type
1001 typename __make_tuple_types<typename remove_reference<_Tuple0>::type>::type>::type
1010 typename __make_tuple_types<typename remove_reference<_Tuple0>::type>::type
[all …]
/external/boringssl/src/crypto/test/
Dstl_compat.h42 struct remove_reference { struct
47 struct remove_reference<T&> { argument
52 struct remove_reference<T&&> {
58 typename remove_reference<T>::type &&move(T &&t) {
59 return static_cast<typename remove_reference<T>::type&&>(t);
/external/clang/test/SemaCUDA/
Dimplicit-member-target.cu163 template <class T> struct remove_reference { typedef T type; }; struct
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/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/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;
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
Dp11-1y.cpp67 template<typename T> struct remove_reference { typedef T type; }; struct
68 template<typename T> struct remove_reference<T&> { typedef T type; }; argument
69 template<typename T> decltype(auto) move(T &&t) { return static_cast<typename remove_reference<T>::… in move()
/external/clang/test/Modules/Inputs/submodules/
Dtype_traits.h2 struct remove_reference { struct
7 struct remove_reference<T&> { argument
/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/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&> { argument
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/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));
/external/eigen/test/
Dmeta.cpp49 VERIFY(( internal::is_same<float,internal::remove_reference<float&>::type >::value)); in test_meta()
50 VERIFY(( internal::is_same<const float,internal::remove_reference<const float&>::type >::value)); in test_meta()
/external/google-breakpad/src/testing/test/
Dgmock-internal-utils_test.cc493 TEST(TypeTraitsTest, remove_reference) { in TEST() argument
494 EXPECT_TRUE((type_equals<char, remove_reference<char&>::type>::value)); in TEST()
496 remove_reference<const int&>::type>::value)); in TEST()
497 EXPECT_TRUE((type_equals<int, remove_reference<int>::type>::value)); in TEST()
498 EXPECT_TRUE((type_equals<double*, remove_reference<double*>::type>::value)); in TEST()
/external/libcxx/test/std/utilities/meta/meta.trans/meta.trans.ref/
Dremove_ref.pass.cpp19 static_assert((std::is_same<typename std::remove_reference<T>::type, U>::value), ""); in test_remove_reference()
/external/protobuf/src/google/protobuf/stubs/
Dtype_traits.h86 template <class T> struct remove_reference;
283 template<typename T> struct remove_reference { typedef T type; };
284 template<typename T> struct remove_reference<T&> { typedef T type; };

123