OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:add_pointer
(Results
1 - 6
of
6
) sorted by null
/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}}
metafun-apply.cpp
3
struct
add_pointer
{
struct
30
apply1<
add_pointer
, int>::type ip = &i;
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;
instantiate-template-template-parm.cpp
8
struct
add_pointer
{
struct
18
apply<
add_pointer
, int>::type ip = &i;
default-arguments.cpp
99
struct
add_pointer
{
struct
108
int array4[is_same<X4<
add_pointer
>,
109
X4<
add_pointer
,
add_pointer
::apply> >::value? 1 : -1];
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
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
,
Completed in 44 milliseconds