/external/clang/test/SemaCXX/ |
D | rval-references-examples.cpp | 28 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()
|
D | discrim-union.cpp | 3 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()
|
D | warn-self-move.cpp | 6 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);
|
D | warn-unused-local-typedef.cpp | 175 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/ |
D | p3-0x.cpp | 39 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_03 | 85 : 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 …]
|
D | exception | 194 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 | __tuple | 225 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 ==
|
D | type_traits | 65 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 …]
|
D | tuple | 226 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/ |
D | stl_compat.h | 42 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/ |
D | implicit-member-target.cu | 163 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/ |
D | arc-move.mm | 15 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/ |
D | ErrorOr.h | 28 , 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/ |
D | p11-1y.cpp | 67 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/ |
D | type_traits.h | 2 struct remove_reference { struct 7 struct remove_reference<T&> { argument
|
/external/clang/test/Modules/ |
D | submodules.cpp | 10 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/ |
D | deduction-crash.cpp | 63 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>
|
D | temp_class_spec.cpp | 85 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/ |
D | CwiseBinaryOp.h | 65 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/ |
D | gmock-internal-utils.h | 348 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/ |
D | meta.cpp | 49 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/ |
D | gmock-internal-utils_test.cc | 493 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/ |
D | remove_ref.pass.cpp | 19 static_assert((std::is_same<typename std::remove_reference<T>::type, U>::value), ""); in test_remove_reference()
|
/external/protobuf/src/google/protobuf/stubs/ |
D | type_traits.h | 86 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; };
|