Searched refs:add_reference (Results 1 - 9 of 9) sorted by relevance

/external/clang/test/SemaTemplate/
H A Dmetafun-apply.cpp10 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}}
H A Dinstantiate-template-template-parm.cpp13 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'}}
/external/clang/test/SemaCXX/
H A Dnested-name-spec-locations.cpp17 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<
[all...]
/external/clang/test/CodeGenCXX/
H A Dmangle-variadic-templates.cpp7 template<typename T> struct add_reference;
67 template template_tuple<identity, add_reference> f7();
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
H A Dexample-tuple.cpp8 struct add_reference { struct
13 struct add_reference<T&> { struct
82 typename add_reference<Head>::type head() { return m_head; }
83 typename add_reference<const Head>::type head() const { return m_head; }
180 typedef typename add_reference<Element>::type RJ;
190 typedef typename add_reference<Head>::type RJ;
197 template<int I, typename... Values> typename add_reference<
H A Dmulti-level-substitution.cpp165 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>,
H A Dexample-bind.cpp8 struct add_reference { struct
13 struct add_reference<T&> { struct
82 typename add_reference<Head>::type head() { return m_head; }
83 typename add_reference<const Head>::type head() const { return m_head; }
137 typedef typename add_reference<Element>::type RJ;
147 typedef typename add_reference<Head>::type RJ;
154 template<int I, typename... Values> typename add_reference<
H A Dmetafunctions.cpp177 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/stlport/stlport/stl/
H A Dtype_traits.h68 # 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;

Completed in 1123 milliseconds