/external/clang/test/SemaTemplate/ |
metafun-apply.cpp | 10 struct add_reference { struct 25 typedef typename MetaFun::template apply<T>::type type; // expected-note{{in instantiation of template class 'add_reference::apply<void>' requested here}} \ 31 apply1<add_reference, int>::type ir = i; 32 apply1<add_reference, float>::type fr = i; // expected-error{{non-const lvalue reference to type 'float' cannot bind to a value of unrelated type 'int'}} 35 apply1<add_reference, void>::type t; // expected-note{{in instantiation of template class 'apply1<add_reference, void>' requested here}}
|
instantiate-template-template-parm.cpp | 13 struct add_reference { struct 19 apply<add_reference, int>::type ir = i; 20 apply<add_reference, float>::type fr = i; // expected-error{{non-const lvalue reference to type 'float' cannot bind to a value of unrelated type 'int'}}
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/type_traits/ |
add_reference.hpp | 80 BOOST_TT_AUX_TYPE_TRAIT_IMPL_PARTIAL_SPEC1_1(typename T,add_reference,T&,T&) 86 BOOST_TT_AUX_TYPE_TRAIT_IMPL_SPEC1(add_reference,void,void) 88 BOOST_TT_AUX_TYPE_TRAIT_IMPL_SPEC1(add_reference,void const,void const) 89 BOOST_TT_AUX_TYPE_TRAIT_IMPL_SPEC1(add_reference,void volatile,void volatile) 90 BOOST_TT_AUX_TYPE_TRAIT_IMPL_SPEC1(add_reference,void const volatile,void const volatile) 95 BOOST_TT_AUX_TYPE_TRAIT_DEF1(add_reference,T,typename boost::detail::add_reference_impl<T>::type) 100 BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,add_reference,T&,T&)
|
is_enum.hpp | 16 #include <boost/type_traits/add_reference.hpp> 98 : public ::boost::is_convertible<typename boost::add_reference<T>::type,::boost::detail::int_convertible> 105 //typedef ::boost::add_reference<T> ar_t;
|
is_convertible.hpp | 20 #include <boost/type_traits/add_reference.hpp> 279 typedef typename add_reference<From>::type ref_type; 295 typedef typename add_reference<From>::type ref_type;
|
/external/clang/test/SemaCXX/ |
nested-name-spec-locations.cpp | 17 struct add_reference { struct 26 typename add_reference<T>::type 36 typename add_reference<T>::type 47 t->T::template Inner<typename add_reference<U>::type 68 outer_alias::inner::X0<typename add_reference<T>::type 82 typename add_reference<T>::type 91 typedef typename T::template apply<typename add_reference<U>::type 107 typedef typename T::template apply<typename add_reference<U>::type 116 T::template apply<typename add_reference<U>::type 125 typedef class T::template apply<typename add_reference<U>::type [all...] |
/external/clang/test/CodeGenCXX/ |
mangle-variadic-templates.cpp | 7 template<typename T> struct add_reference; 68 template template_tuple<identity, add_reference> f7();
|
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
example-tuple.cpp | 9 struct add_reference { struct 14 struct add_reference<T&> { struct 83 typename add_reference<Head>::type head() { return m_head; } 84 typename add_reference<const Head>::type head() const { return m_head; } 181 typedef typename add_reference<Element>::type RJ; 191 typedef typename add_reference<Head>::type RJ; 198 template<int I, typename... Values> typename add_reference<
|
multi-level-substitution.cpp | 165 template<class> struct add_reference; 181 int check10[X5<add_reference, add_pointer, add_const> 182 ::Inner<tuple<add_reference<int>, 185 int check11[X5<add_reference, add_pointer> 186 ::Inner<tuple<add_reference<int>,
|
example-bind.cpp | 9 struct add_reference { struct 14 struct add_reference<T&> { struct 83 typename add_reference<Head>::type head() { return m_head; } 84 typename add_reference<const Head>::type head() const { return m_head; } 138 typedef typename add_reference<Element>::type RJ; 148 typedef typename add_reference<Head>::type RJ; 155 template<int I, typename... Values> typename add_reference<
|
metafunctions.cpp | 177 struct add_reference { struct in namespace:TemplateTemplateApply 192 add_reference, add_pointer, add_const>::type, 200 int check1[is_same<apply_each_indirect<int, add_reference, add_pointer,
|
/external/protobuf/src/google/protobuf/stubs/ |
type_traits.h | 52 // add_reference 87 template <class T> struct add_reference; 156 // we use add_reference here. 158 : is_convertible<typename add_reference<T>::type, int> { }; 286 template <typename T> struct add_reference { typedef T& type; }; struct in namespace:google::protobuf::internal 287 template <typename T> struct add_reference<T&> { typedef T& type; }; struct in namespace:google::protobuf::internal
|
type_traits_unittest.cc | 311 COMPILE_ASSERT_TYPES_EQ(int&, add_reference<int>::type); 312 COMPILE_ASSERT_TYPES_EQ(const int&, add_reference<const int>::type); 314 add_reference<volatile int>::type); 316 add_reference<const volatile int>::type); 317 COMPILE_ASSERT_TYPES_EQ(int&, add_reference<int&>::type); 318 COMPILE_ASSERT_TYPES_EQ(const int&, add_reference<const int&>::type); 320 add_reference<volatile int&>::type); 322 add_reference<const volatile int&>::type);
|
/prebuilts/misc/darwin-x86_64/protobuf2.5/include/google/protobuf/stubs/ |
type_traits.h | 52 // add_reference 87 template <class T> struct add_reference; 156 // we use add_reference here. 158 : is_convertible<typename add_reference<T>::type, int> { }; 286 template <typename T> struct add_reference { typedef T& type; }; struct in namespace:google::protobuf::internal 287 template <typename T> struct add_reference<T&> { typedef T& type; }; struct in namespace:google::protobuf::internal
|
/prebuilts/misc/linux-x86_64/protobuf2.5/include/google/protobuf/stubs/ |
type_traits.h | 52 // add_reference 87 template <class T> struct add_reference; 156 // we use add_reference here. 158 : is_convertible<typename add_reference<T>::type, int> { }; 286 template <typename T> struct add_reference { typedef T& type; }; struct in namespace:google::protobuf::internal 287 template <typename T> struct add_reference<T&> { typedef T& type; }; struct in namespace:google::protobuf::internal
|
/prebuilts/misc/windows/protobuf2.5/include/google/protobuf/stubs/ |
type_traits.h | 52 // add_reference 87 template <class T> struct add_reference; 156 // we use add_reference here. 158 : is_convertible<typename add_reference<T>::type, int> { }; 286 template <typename T> struct add_reference { typedef T& type; }; struct in namespace:google::protobuf::internal 287 template <typename T> struct add_reference<T&> { typedef T& type; }; struct in namespace:google::protobuf::internal
|
/prebuilts/tools/linux-x86_64/protoc/include/google/protobuf/stubs/ |
type_traits.h | 52 // add_reference 87 template <class T> struct add_reference; 156 // we use add_reference here. 158 : is_convertible<typename add_reference<T>::type, int> { }; 286 template <typename T> struct add_reference { typedef T& type; }; struct in namespace:google::protobuf::internal 287 template <typename T> struct add_reference<T&> { typedef T& type; }; struct in namespace:google::protobuf::internal
|
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/stubs/ |
type_traits.h | 53 // add_reference 107 template <class T> struct add_reference; 183 // we use add_reference here. 185 : is_convertible<typename add_reference<T>::type, int> { }; 313 template <typename T> struct add_reference { typedef T& type; }; struct in namespace:google::protobuf::internal 314 template <typename T> struct add_reference<T&> { typedef T& type; }; struct in namespace:google::protobuf::internal
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/iterator/ |
iterator_adaptor.hpp | 29 #include <boost/type_traits/add_reference.hpp> 209 , add_reference<Value>
|
/toolchain/binutils/binutils-2.25/gold/ |
gc.h | 107 add_reference(Object* src_object, unsigned int src_shndx, function in class:gold::Garbage_collection 351 symtab->gc()->add_reference(src_obj, src_indx, dst_obj, dst_indx);
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
type_traits.h | 68 # include <boost/type_traits/add_reference.hpp> 456 typename ::boost::add_reference< typename ::boost::add_const<_Tp>::type >::type>::_Ret const_param_type; 459 typename ::boost::add_reference<_Tp>::type>::_Ret param_type;
|
/prebuilts/ndk/current/sources/cxx-stl/stlport/stlport/stl/ |
type_traits.h | 68 # include <boost/type_traits/add_reference.hpp> 456 typename ::boost::add_reference< typename ::boost::add_const<_Tp>::type >::type>::_Ret const_param_type; 459 typename ::boost::add_reference<_Tp>::type>::_Ret param_type;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/tr1/ |
shared_ptr.h | 662 typename std::tr1::add_reference<_Tp>::type
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/tr1/ |
shared_ptr.h | 662 typename std::tr1::add_reference<_Tp>::type
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/tr1/ |
shared_ptr.h | 662 typename std::tr1::add_reference<_Tp>::type
|