Lines Matching refs:pf
947 constexpr S(int m, int n, int (S::*pf)() const, int S::*pn) :
948 m(m), n(n), pf(pf), pn(pn) {}
949 constexpr S() : m(), n(), pf(&S::f), pn(&S::n) {}
955 int (S::*pf)() const;
961 constexpr int (S::*pf)() const = &S::f;
967 static_assert((s.*s.pf)() == 2, "");
969 static_assert(pf == &S::f, "");
970 static_assert(pf == s.*&S::pf, "");
976 static_assert(pf != nullptr, "");
979 static_assert(pf != pg, ""); // expected-error {{constant expression}} expected-note {{comparison of pointer to virtual member function 'g' has unspecified value}}