Home
last modified time | relevance | path

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

12345

/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;}; argument
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&> { struct
38 struct remove_reference<T&&> { struct
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; }; struct
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; }; struct
9 template <class T> struct remove_reference<T&> { typedef T type; }; argument
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; }; argument
8 template <class T> struct remove_reference<T&> { typedef T type; }; argument
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; }; 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&> { struct
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/test/std/utilities/utility/as_const/
Das_const.pass.cpp25 …static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const … in test()
26 …static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const< T… in test()
27 …static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const<const T… in test()
28 …static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const<volatile T… in test()
29 …static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const<const volatile T… in test()
/external/clang/test/SemaCUDA/
Dimplicit-member-target.cu164 template <class T> struct remove_reference { typedef T type; }; argument
165 template <class T> struct remove_reference<T&> { typedef T type; }; struct
166 template <class T> struct remove_reference<T&&> { typedef T type; }; struct
168 template <class T> typename remove_reference<T>::type&& move(T&& t);
/external/eigen/Eigen/src/Core/
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;
DCwiseBinaryOp.h46 typedef typename remove_reference<LhsNested>::type _LhsNested;
47 typedef typename remove_reference<RhsNested>::type _RhsNested;
100 typedef typename internal::remove_reference<LhsNested>::type _LhsNested;
101 typedef typename internal::remove_reference<RhsNested>::type _RhsNested;
/external/llvm/lib/Passes/
DPassBuilder.cpp355 std::remove_reference<decltype(CREATE_PASS)>::type>()); \ in parseModulePassName()
360 std::remove_reference<decltype(CREATE_PASS)>::type>()); \ in parseModulePassName()
377 std::remove_reference<decltype(CREATE_PASS)>::type>()); \ in parseCGSCCPassName()
382 std::remove_reference<decltype(CREATE_PASS)>::type>()); \ in parseCGSCCPassName()
400 std::remove_reference<decltype(CREATE_PASS)>::type>()); \ in parseFunctionPassName()
405 std::remove_reference<decltype(CREATE_PASS)>::type>()); \ in parseFunctionPassName()
422 std::remove_reference<decltype(CREATE_PASS)>::type>()); \ in parseLoopPassName()
427 std::remove_reference<decltype(CREATE_PASS)>::type>()); \ in parseLoopPassName()
439 std::remove_reference<decltype(CREATE_PASS)>::type>(); \ in parseAAPassName()
445 std::remove_reference<decltype(CREATE_PASS)>::type>(); \ in parseAAPassName()
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
Dp11-1y.cpp68 template<typename T> struct remove_reference { typedef T type; }; argument
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>::… 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/libcxx/include/
Dexception210 is_class<typename remove_reference<_Tp>::type>::value &&
211 !is_base_of<nested_exception, typename remove_reference<_Tp>::type>::value
212 && !__libcpp_is_final<typename remove_reference<_Tp>::type>::value
221 throw __nested<typename remove_reference<_Tp>::type>(_VSTD::forward<_Tp>(__t));
233 !is_class<typename remove_reference<_Tp>::type>::value ||
234 is_base_of<nested_exception, typename remove_reference<_Tp>::type>::value
235 || __libcpp_is_final<typename remove_reference<_Tp>::type>::value
/external/clang/test/Modules/Inputs/submodules/
Dtype_traits.h2 struct remove_reference { struct
7 struct remove_reference<T&> { argument
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.0/
Dhidl_return_util.h62 typename std::remove_reference<ReturnT>::type()); in validateAndCall()
88 typename std::remove_reference<ReturnT1>::type(), in validateAndCall()
89 typename std::remove_reference<ReturnT2>::type()); in validateAndCall()
/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>
/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/llvm/include/llvm/Support/
DErrorOr.h71 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/
Dserialization_forward.h32 typename std::remove_reference<T>::type>::type>::value;
46 typename std::remove_reference<InputUserType>::type>:: in PrepareToSerialize()
57 Serializer<MojomType, typename std::remove_reference<InputUserType>::type>:: in Serialize()

12345