/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/Modules/Inputs/submodules/ |
type_traits.h | 2 struct remove_reference { struct 7 struct remove_reference<T&> { struct
|
/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/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&&);
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/type_traits/ |
remove_reference.hpp | 17 #include <boost/type_traits/msvc/remove_reference.hpp> 47 BOOST_TT_AUX_TYPE_TRAIT_DEF1(remove_reference,T,typename boost::detail::remove_rvalue_ref<T>::type) 48 BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,remove_reference,T&,T) 55 BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,remove_reference,T& const,T) 56 BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,remove_reference,T& volatile,T) 57 BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,remove_reference,T& const volatile,T) 62 BOOST_TT_AUX_TYPE_TRAIT_DEF1(remove_reference,T,typename boost::detail::remove_reference_impl<T>::type)
|
add_pointer.hpp | 12 #include <boost/type_traits/remove_reference.hpp> 58 typedef typename remove_reference<T>::type no_ref_type;
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
type_traits.hpp | 28 using std::remove_reference;
|
/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);
|
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);
|
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); }
|
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);
|
/external/parameter-framework/upstream/utility/ |
BinaryCopy.hpp | 55 typename std::remove_reference<Destination>::type binaryCopy(const Source source)
|
/external/libcxx/test/std/utilities/meta/meta.trans/meta.trans.ref/ |
remove_ref.pass.cpp | 12 // remove_reference 19 static_assert((std::is_same<typename std::remove_reference<T>::type, U>::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.trans/meta.trans.ref/ |
remove_ref.pass.cpp | 12 // remove_reference 19 static_assert((std::is_same<typename std::remove_reference<T>::type, U>::value), "");
|
/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); }
|
/external/webrtc/webrtc/base/ |
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
|
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...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/bits/ |
move.h | 76 forward(typename std::remove_reference<_Tp>::type& __t) noexcept 87 forward(typename std::remove_reference<_Tp>::type&& __t) noexcept 100 constexpr typename std::remove_reference<_Tp>::type&& 102 { return static_cast<typename std::remove_reference<_Tp>::type&&>(__t); }
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/bits/ |
move.h | 76 forward(typename std::remove_reference<_Tp>::type& __t) noexcept 87 forward(typename std::remove_reference<_Tp>::type&& __t) noexcept 100 constexpr typename std::remove_reference<_Tp>::type&& 102 { return static_cast<typename std::remove_reference<_Tp>::type&&>(__t); }
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/bits/ |
move.h | 76 forward(typename std::remove_reference<_Tp>::type& __t) noexcept 87 forward(typename std::remove_reference<_Tp>::type&& __t) noexcept 100 constexpr typename std::remove_reference<_Tp>::type&& 102 { return static_cast<typename std::remove_reference<_Tp>::type&&>(__t); }
|
/prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/ |
move.h | 76 forward(typename std::remove_reference<_Tp>::type& __t) noexcept 87 forward(typename std::remove_reference<_Tp>::type&& __t) noexcept 100 constexpr typename std::remove_reference<_Tp>::type&& 102 { return static_cast<typename std::remove_reference<_Tp>::type&&>(__t); }
|
/external/llvm/include/llvm/Support/ |
ErrorOr.h | 28 , typename std::remove_reference<V>::type>::type && 35 , typename std::remove_reference<V>::type>::type & 76 /// is held in a std::reference_wrapper<std::remove_reference<T>::type>, and 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; 94 typedef const typename std::remove_reference<T>::type *const_pointer;
|
/art/cmdline/detail/ |
cmdline_parser_detail.h | 28 typename std::remove_reference<T>::type& FakeReference(); 38 std::remove_reference<decltype(os << value)>* = 0); // NOLINT [whitespace/operators] [3] 56 std::remove_reference<decltype(left == right)>* = 0); // NOLINT [whitespace/operators] [3]
|
/external/clang/test/SemaTemplate/ |
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>
|