Searched refs:remove_reference (Results 1 - 25 of 95) sorted by relevance

1234

/external/clang/test/Analysis/
H A 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
10 return static_cast<typename remove_reference<T>::type&&>(arg);
/external/clang/test/Modules/Inputs/submodules/
H A Dtype_traits.h2 struct remove_reference { struct
7 struct remove_reference<T&> { struct
/external/clang/test/Modules/
H A Dsubmodules.cpp9 // Note: remove_reference is not visible yet.
10 remove_reference<int&>::type *int_ptr = 0; // expected-error{{declaration of 'remove_reference' must be imported from module 'std.type_traits' before it is required}}
17 remove_reference<int&>::type *int_ptr2 = 0;
/external/clang/test/CXX/over/over.match/over.match.best/over.ics.rank/
H A Dp3-0x.cpp39 struct remove_reference { struct
44 struct remove_reference<T&> { struct
49 struct remove_reference<T&&> { struct
54 template<typename T> int &f(typename remove_reference<T>::type&);
55 template<typename T> float &f(typename remove_reference<T>::type&&);
/external/parameter-framework/asio/include/asio/detail/
H A Dtype_traits.hpp28 using std::remove_reference;
/external/parameter-framework/asio-1.10.6/include/asio/detail/
H A Dtype_traits.hpp28 using std::remove_reference;
/external/libcxx/test/std/utilities/utility/as_const/
H A Das_const.pass.cpp25 static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const (t))>::type>::value, "");
26 static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const< T>(t))>::type>::value, "");
27 static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const<const T>(t))>::type>::value, "");
28 static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const<volatile T>(t))>::type>::value, "");
29 static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const<const volatile T>(t))>::type>::value, "");
/external/clang/test/SemaCXX/
H A Dwarn-self-move.cpp6 template <class T> struct remove_reference { typedef T type; }; struct in namespace:std::foo
7 template <class T> struct remove_reference<T&> { typedef T type; }; struct in namespace:std::foo
8 template <class T> struct remove_reference<T&&> { typedef T type; }; struct in namespace:std::foo
10 template <class T> typename remove_reference<T>::type &&move(T &&t);
H A Drval-references-examples.cpp28 struct remove_reference { struct
33 struct remove_reference<T&> { struct
38 struct remove_reference<T&&> { struct
43 template <class T> typename remove_reference<T>::type&& move(T&& t) {
44 return static_cast<typename remove_reference<T>::type&&>(t);
47 template <class T> T&& forward(typename remove_reference<T>::type& t) {
51 template <class T> T&& forward(typename remove_reference<T>::type&& t) {
H A Dwarn-redundant-move.cpp8 template <class T> struct remove_reference { typedef T type; }; struct in namespace:std::foo
9 template <class T> struct remove_reference<T&> { typedef T type; }; struct in namespace:std::foo
10 template <class T> struct remove_reference<T&&> { typedef T type; }; struct in namespace:std::foo
12 template <class T> typename remove_reference<T>::type &&move(T &&t);
H A Ddiscrim-union.cpp3 template<typename T> struct remove_reference { typedef T type; }; struct
4 template<typename T> struct remove_reference<T&> { typedef T type; }; struct
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 static_cast<T&&>(t); }
8 template<typename T> constexpr T &&forward(typename remove_reference<T>::type &&t) noexcept { return static_cast<T&&>(t); }
9 template<typename T> constexpr typename remove_reference<T>::type &&move(T &&t) noexcept { return static_cast<typename remove_reference<T>::type&&>(t); }
H A Dwarn-pessmizing-move.cpp7 template <class T> struct remove_reference { typedef T type; }; struct in namespace:std::foo
8 template <class T> struct remove_reference<T&> { typedef T type; }; struct in namespace:std::foo
9 template <class T> struct remove_reference<T&&> { typedef T type; }; struct in namespace:std::foo
11 template <class T> typename remove_reference<T>::type &&move(T &&t);
H A Dwarn-unused-local-typedef.cpp175 struct remove_reference { typedef T type; };
176 template<typename T> struct remove_reference<T&> { typedef T type; };
184 remove_reference<decltype(*pointer_sneaky())>::type::t py;
/external/parameter-framework/upstream/utility/
H A DBinaryCopy.hpp55 typename std::remove_reference<Destination>::type binaryCopy(const Source source)
/external/libcxx/test/std/utilities/meta/meta.trans/meta.trans.ref/
H A Dremove_ref.pass.cpp12 // remove_reference
20 static_assert((std::is_same<typename std::remove_reference<T>::type, U>::value), "");
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
H A Dp11-1y.cpp68 template<typename T> struct remove_reference { typedef T type; }; struct
69 template<typename T> struct remove_reference<T&> { typedef T type; }; struct
70 template<typename T> decltype(auto) move(T &&t) { return static_cast<typename remove_reference<T>::type&&>(t); }
/external/webrtc/webrtc/base/
H A 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<P
[all...]
H A Dtemplate_util.h52 struct remove_reference { struct in namespace:rtc
56 struct remove_reference<T&> { struct in namespace:rtc
60 struct remove_reference<T&&> { struct in namespace:rtc
H A 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,
/external/clang/test/SemaTemplate/
H A 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>
H A 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];
95 int remove_ref1[is_same<remove_reference<int&>::type, int>::value? 1 : -1];
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.0/
H A Dhidl_return_util.h62 typename std::remove_reference<ReturnT>::type());
88 typename std::remove_reference<ReturnT1>::type(),
89 typename std::remove_reference<ReturnT2>::type());
/external/eigen/Eigen/src/Core/
H A DCwiseTernaryOp.h44 typedef typename remove_reference<Arg1Nested>::type _Arg1Nested;
45 typedef typename remove_reference<Arg2Nested>::type _Arg2Nested;
46 typedef typename remove_reference<Arg3Nested>::type _Arg3Nested;
102 typedef typename internal::remove_reference<Arg1Nested>::type _Arg1Nested;
103 typedef typename internal::remove_reference<Arg2Nested>::type _Arg2Nested;
104 typedef typename internal::remove_reference<Arg3Nested>::type _Arg3Nested;
/external/llvm/include/llvm/Support/
H A DErrorOr.h62 /// is held in a std::reference_wrapper<std::remove_reference<T>::type>, and
71 typedef ReferenceStorage<typename std::remove_reference<T>::type> wrap;
77 typedef typename std::remove_reference<T>::type &reference;
78 typedef const typename std::remove_reference<T>::type &const_reference;
79 typedef typename std::remove_reference<T>::type *pointer;
80 typedef const typename std::remove_reference<T>::type *const_pointer;
/external/libmojo/mojo/public/cpp/bindings/lib/
H A Dserialization_forward.h32 typename std::remove_reference<T>::type>::type>::value;
46 typename std::remove_reference<InputUserType>::type>::
57 Serializer<MojomType, typename std::remove_reference<InputUserType>::type>::

Completed in 1691 milliseconds

1234