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

Lines Matching defs:NP

15 constexpr std::nullptr_t np = nullptr;
26 IP<np> ip5;
44 PM<np> pm5;
55 PMF<np> pmf5;
58 template<std::nullptr_t np> struct NP { // expected-note 2{{template parameter is declared here}}
59 NP<np> *np2;
62 NP<nullptr> np1;
63 NP<np> np2;
64 NP<get_nullptr()> np3;
65 NP<0> np4; // expected-error{{null non-type template argument must be cast to template parameter type 'std::nullptr_t' (aka 'nullptr_t')}}
67 NP<i> np5; // expected-error{{non-type template argument of type 'const int' cannot be converted to a value of type 'std::nullptr_t'}}