/external/clang/test/SemaTemplate/ |
instantiate-typedef.cpp | 4 struct add_pointer { struct 8 add_pointer<int>::type test1(int * ptr) { return ptr; } 10 add_pointer<float>::type test2(int * ptr) { 11 return ptr; // expected-error{{cannot initialize return object of type 'add_pointer<float>::type' (aka 'float *') with an lvalue of type 'int *'}} 14 add_pointer<int&>::type // expected-note{{in instantiation of template class 'add_pointer<int &>' requested here}}
|
typename-specifier-2.cpp | 8 struct add_pointer { struct 20 bind_metafun<add_pointer, int>::type::type ip = &i; 21 bind_metafun<add_pointer, float>::type::type fp = &i; // expected-error{{cannot initialize a variable of type 'bind_metafun<add_pointer, float>::type::type' (aka 'float *') with an rvalue of type 'int *'}} 30 extract_type_type<bind_metafun<add_pointer, double> >::t dp = &d;
|
metafun-apply.cpp | 3 struct add_pointer { struct 30 apply1<add_pointer, int>::type ip = &i;
|
instantiate-template-template-parm.cpp | 8 struct add_pointer { struct 18 apply<add_pointer, int>::type ip = &i;
|
default-arguments.cpp | 103 struct add_pointer { struct 112 int array4[is_same<X4<add_pointer>, 113 X4<add_pointer, add_pointer::apply> >::value? 1 : -1];
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.trans/meta.trans.ptr/ |
add_pointer.pass.cpp | 12 // add_pointer 19 static_assert((std::is_same<typename std::add_pointer<T>::type, U>::value), "");
|
/external/libcxx/test/std/utilities/meta/meta.trans/meta.trans.ptr/ |
add_pointer.pass.cpp | 12 // add_pointer 23 static_assert((std::is_same<typename std::add_pointer<T>::type, U>::value), ""); 32 static_assert((std::is_same<typename std::add_pointer<F>::type, F*>::value), ""); 41 static_assert((std::is_same<typename std::add_pointer<F>::type, F>::value), ""); 60 // LWG 2101 specifically talks about add_pointer and functions.
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/meta/meta.trans/meta.trans.ptr/ |
add_pointer.pass.cpp | 12 // add_pointer 23 static_assert((std::is_same<typename std::add_pointer<T>::type, U>::value), ""); 32 static_assert((std::is_same<typename std::add_pointer<F>::type, F*>::value), ""); 41 static_assert((std::is_same<typename std::add_pointer<F>::type, F>::value), ""); 60 // LWG 2101 specifically talks about add_pointer and functions.
|
/external/libbrillo/brillo/ |
any.h | 98 using CanonicalDestTypeNoConst = typename std::add_pointer< 103 using CanonicalDestTypeNoVolatile = typename std::add_pointer< 108 using CanonicalDestTypeNoConstOrVolatile = typename std::add_pointer<
|
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
multi-level-substitution.cpp | 166 template<class> struct add_pointer; 181 int check10[X5<add_reference, add_pointer, add_const> 183 add_pointer<float>, 185 int check11[X5<add_reference, add_pointer> 187 add_pointer<float>,
|
metafunctions.cpp | 182 struct add_pointer { 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,
|
/frameworks/base/libs/androidfw/include/androidfw/ |
Util.h | 45 using pointer = typename std::add_pointer<T>::type;
|
/art/runtime/base/ |
transform_iterator.h | 57 typename std::add_pointer<typename std::remove_reference<ResultType>::type>::type,
|
/external/skia/include/private/ |
SkTLogic.h | 39 template <typename T> using add_pointer_t = typename std::add_pointer<T>::type;
|
/frameworks/base/tools/aapt2/ |
ResourceValues.cpp | 375 constexpr T* add_pointer(T& val) { function in namespace:aapt 395 add_pointer<const Symbol>); 402 add_pointer<const Symbol>);
|
/external/llvm/include/llvm/Analysis/ |
RegionInfoImpl.h | 721 typedef typename std::add_pointer<FuncT>::type FuncPtrT; 910 typedef typename std::add_pointer<FuncT>::type FuncPtrT;
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/ |
regcomp.c | 259 add_pointer(regex_t* reg, void* addr)
function 617 r = add_pointer(reg, cc);
[all...] |