/external/clang/test/Modules/Inputs/submodules/ |
type_traits.h | 2 struct remove_reference { struct 7 struct remove_reference<T&> { struct
|
/external/clang/test/Analysis/ |
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/CXX/over/over.match/over.match.best/over.ics.rank/ |
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/clang/test/Modules/ |
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/webrtc/webrtc/base/ |
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<P1>::type p1_ [all...] |
/external/clang/test/SemaCXX/ |
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);
|
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); }
|
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) {
|
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);
|
/system/nvram/messages/include/nvram/messages/ |
type_traits.h | 40 struct remove_reference { struct in namespace:nvram 44 struct remove_reference<T&> { struct in namespace:nvram 48 struct remove_reference<T&&> { struct in namespace:nvram
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
type_traits.hpp | 28 using std::remove_reference;
|
/external/clang/test/CodeGenObjCXX/ |
arc-move.mm | 15 struct remove_reference { 20 struct remove_reference<T&> { 25 struct remove_reference<T&&> { 30 typename remove_reference<T>::type&& move(T &&x) { 31 return static_cast<typename remove_reference<T>::type&&>(x);
|
/external/libcxx/test/std/utilities/utility/as_const/ |
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, "");
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/utility/as_const/ |
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, "");
|
/prebuilts/clang/host/darwin-x86/clang-4053586/include/c++/v1/ |
exception | 210 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
|
/prebuilts/clang/host/linux-x86/clang-4053586/include/c++/v1/ |
exception | 210 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/mesa3d/src/gallium/state_trackers/clover/util/ |
tuple.hpp | 53 typename std::remove_reference<T>::type>::value 59 typedef typename std::remove_reference<F>::type func_type; 85 typename std::remove_reference<T>::type>::value 91 typedef typename std::remove_reference<F>::type func_type;
|
/external/libcxx/test/std/utilities/meta/meta.trans/meta.trans.ref/ |
remove_ref.pass.cpp | 12 // remove_reference 20 static_assert((std::is_same<typename std::remove_reference<T>::type, U>::value), "");
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/meta/meta.trans/meta.trans.ref/ |
remove_ref.pass.cpp | 12 // remove_reference 20 static_assert((std::is_same<typename std::remove_reference<T>::type, U>::value), "");
|
/hardware/interfaces/wifi/1.0/vts/functional/ |
wifi_hidl_call_util.h | 38 typename std::remove_reference<ArgT>::type>::type; 55 typename std::remove_reference<Arg1T>::type>::type, 57 typename std::remove_reference<Arg2T>::type>::type>; 74 typename std::remove_reference<ArgT>::type>::type...>; 121 std::remove_reference<decltype(*strong_pointer)>::type::method##_cb>( \ 122 &std::remove_reference<decltype(*strong_pointer)>::type::method, \
|
/hardware/interfaces/wifi/hostapd/1.0/vts/functional/ |
hostapd_hidl_call_util.h | 42 typename std::remove_reference<ArgT>::type>::type; 59 typename std::remove_reference<Arg1T>::type>::type, 61 typename std::remove_reference<Arg2T>::type>::type>; 78 typename std::remove_reference<ArgT>::type>::type...>; 125 std::remove_reference<decltype(*strong_pointer)>::type::method##_cb>( \ 126 &std::remove_reference<decltype(*strong_pointer)>::type::method, \
|
/hardware/interfaces/wifi/offload/1.0/vts/functional/ |
hidl_call_util.h | 38 typename std::remove_reference<ArgT>::type>::type; 55 typename std::remove_reference<Arg1T>::type>::type, 57 typename std::remove_reference<Arg2T>::type>::type>; 74 typename std::remove_reference<ArgT>::type>::type...>; 121 std::remove_reference<decltype(*strong_pointer)>::type::method##_cb>( \ 122 &std::remove_reference<decltype(*strong_pointer)>::type::method, \
|
/hardware/interfaces/wifi/supplicant/1.0/vts/functional/ |
supplicant_hidl_call_util.h | 42 typename std::remove_reference<ArgT>::type>::type; 59 typename std::remove_reference<Arg1T>::type>::type, 61 typename std::remove_reference<Arg2T>::type>::type>; 78 typename std::remove_reference<ArgT>::type>::type...>; 125 std::remove_reference<decltype(*strong_pointer)>::type::method##_cb>( \ 126 &std::remove_reference<decltype(*strong_pointer)>::type::method, \
|
/system/connectivity/wificond/scanning/offload/ |
hidl_call_util.h | 40 typename std::remove_reference<ArgT>::type>::type; 57 typename std::remove_reference<Arg1T>::type>::type, 59 typename std::remove_reference<Arg2T>::type>::type>; 75 typename std::remove_reference<ArgT>::type>::type...>; 126 std::remove_reference<decltype(*strong_pointer)>::type::method##_cb>( \ 127 &std::remove_reference<decltype(*strong_pointer)>::type::method, \
|
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/ |
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); }
|