/external/clang/test/SemaCXX/ |
D | nested-name-spec-locations.cpp | 17 struct add_reference { struct 26 typename add_reference<T>::type argument 36 typename add_reference<T>::type 47 t->T::template Inner<typename add_reference<U>::type in f() 68 outer_alias::inner::X0<typename add_reference<T>::type in f() 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/SemaTemplate/ |
D | metafun-apply.cpp | 10 struct add_reference { struct 31 apply1<add_reference, int>::type ir = i; 32 apply1<add_reference, float>::type fr = i; // expected-error{{non-const lvalue reference to type 'f… 35 …apply1<add_reference, void>::type t; // expected-note{{in instantiation of template class 'apply1<… in test()
|
D | instantiate-template-template-parm.cpp | 13 struct add_reference { struct 19 apply<add_reference, int>::type ir = i; argument 20 apply<add_reference, float>::type fr = i; // expected-error{{non-const lvalue reference to type 'fl…
|
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
D | example-tuple.cpp | 9 struct add_reference { struct 14 struct add_reference<T&> { struct 83 typename add_reference<Head>::type head() { return m_head; } in head() 84 typename add_reference<const Head>::type head() const { return m_head; } in 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<
|
D | example-bind.cpp | 9 struct add_reference { struct 14 struct add_reference<T&> { struct 83 typename add_reference<Head>::type head() { return m_head; } in head() 84 typename add_reference<const Head>::type head() const { return m_head; } in 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<
|
D | 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>,
|
D | metafunctions.cpp | 177 struct add_reference { struct 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/ |
D | type_traits_unittest.cc | 311 COMPILE_ASSERT_TYPES_EQ(int&, add_reference<int>::type); in TEST() 312 COMPILE_ASSERT_TYPES_EQ(const int&, add_reference<const int>::type); in TEST() 314 add_reference<volatile int>::type); in TEST() 316 add_reference<const volatile int>::type); in TEST() 317 COMPILE_ASSERT_TYPES_EQ(int&, add_reference<int&>::type); in TEST() 318 COMPILE_ASSERT_TYPES_EQ(const int&, add_reference<const int&>::type); in TEST() 320 add_reference<volatile int&>::type); in TEST() 322 add_reference<const volatile int&>::type); in TEST()
|
D | type_traits.h | 87 template <class T> struct add_reference; 158 : is_convertible<typename add_reference<T>::type, int> { }; 286 template <typename T> struct add_reference { typedef T& type; }; 287 template <typename T> struct add_reference<T&> { typedef T& type; };
|
/external/clang/test/CodeGenCXX/ |
D | mangle-variadic-templates.cpp | 7 template<typename T> struct add_reference; 68 template template_tuple<identity, add_reference> f7();
|
/external/google-breakpad/src/testing/gtest/include/gtest/internal/ |
D | gtest-tuple.h.pump | 101 // is the same as tr1::add_reference<T>::type.
|
/external/gtest/include/gtest/internal/ |
D | gtest-tuple.h.pump | 101 // is the same as tr1::add_reference<T>::type.
|
/external/mesa3d/src/gtest/include/gtest/internal/ |
D | gtest-tuple.h.pump | 101 // is the same as tr1::add_reference<T>::type.
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/internal/ |
D | gtest-tuple.h.pump | 101 // is the same as tr1::add_reference<T>::type.
|
/external/protobuf/gtest/include/gtest/internal/ |
D | gtest-tuple.h.pump | 101 // is the same as tr1::add_reference<T>::type.
|