/external/clang/test/Analysis/ |
H A D | delayed-template-parsing-crash.cpp | 4 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 D | type_traits.h | 2 struct remove_reference { struct 7 struct remove_reference<T&> { struct
|
/external/clang/test/Modules/ |
H A D | submodules.cpp | 9 // 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 D | p3-0x.cpp | 39 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 D | type_traits.hpp | 28 using std::remove_reference;
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
H A D | type_traits.hpp | 28 using std::remove_reference;
|
/external/libcxx/test/std/utilities/utility/as_const/ |
H A D | as_const.pass.cpp | 25 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 D | warn-self-move.cpp | 6 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 D | rval-references-examples.cpp | 28 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 D | warn-redundant-move.cpp | 8 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 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; }; 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 D | warn-pessmizing-move.cpp | 7 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 D | warn-unused-local-typedef.cpp | 175 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 D | BinaryCopy.hpp | 55 typename std::remove_reference<Destination>::type binaryCopy(const Source source)
|
/external/libcxx/test/std/utilities/meta/meta.trans/meta.trans.ref/ |
H A D | remove_ref.pass.cpp | 12 // 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 D | p11-1y.cpp | 68 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 D | bind.h | 212 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 D | template_util.h | 52 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 D | bind_unittest.cc | 76 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 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>
|
H A D | temp_class_spec.cpp | 85 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 D | hidl_return_util.h | 62 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 D | CwiseTernaryOp.h | 44 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 D | ErrorOr.h | 62 /// 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 D | serialization_forward.h | 32 typename std::remove_reference<T>::type>::type>::value; 46 typename std::remove_reference<InputUserType>::type>:: 57 Serializer<MojomType, typename std::remove_reference<InputUserType>::type>::
|