Home | History | Annotate | Download | only in temp.arg.nontype

Lines Matching defs:IP

7 template<int *ip> struct IP {  // expected-note 4 {{template parameter is declared here}}
8 IP<ip> *ip2;
17 IP<0> ip0; // expected-error{{null non-type template argument must be cast to template parameter type 'int *'}}
18 IP<(0)> ip1; // expected-error{{null non-type template argument must be cast to template parameter type 'int *'}}
19 IP<nullptr> ip2;
20 IP<get_nullptr()> ip3;
21 IP<(int*)0> ip4;
22 IP<np> ip5;
23 IP<nonconst_np> ip5; // expected-error{{non-type template argument of type 'std::nullptr_t' (aka 'nullptr_t') is not a constant expression}} \
25 IP<(float*)0> ip6; // expected-error{{null non-type template argument of type 'float *' does not match template parameter of type 'int *'}}