Lines Matching full:constexpr
4 constexpr A() : a(b + 1), b(a + 1) {} // expected-note {{outside its lifetime}}
12 constexpr A a; // ok, zero initialization precedes static initialization
14 constexpr A a; // expected-error {{constant expression}} expected-note {{in call to 'A()'}}
17 constexpr B b1; // expected-error {{without a user-provided default constructor}}
18 constexpr B b2 = B(); // ok
26 constexpr C c1; // expected-error {{without a user-provided default constructor}}
27 constexpr C c2 = C(); // ok
28 constexpr D d1; // expected-error {{without a user-provided default constructor}}
29 constexpr D d2 = D(); // ok with DR1452
35 constexpr Z() : V() {}
37 constexpr int n = Z<V>().c; // expected-error {{constant expression}} expected-note {{virtual base class}}