Lines Matching full:default

6 …constexpr S1() = default; // expected-error {{defaulted definition of default constructor is not c…
7 constexpr S1(const S1&) = default;
8 constexpr S1(S1&&) = default;
9 …constexpr S1 &operator=(const S1&) const = default; // expected-error {{explicitly-defaulted copy …
10 …constexpr S1 &operator=(S1&&) const = default; // expected-error {{explicitly-defaulted move assig…
11 constexpr ~S1() = default; // expected-error {{destructor cannot be marked constexpr}}
20 constexpr S2() = default;
21 …constexpr S2(const S2&) = default; // expected-error {{defaulted definition of copy constructor is…
22 …constexpr S2(S2&&) = default; // expected-error {{defaulted definition of move constructor is not …
30 S3() = default;
31 S3(const S3&) = default;
32 S3(S3&&) = default;
39 …r S3 s3d; // expected-error {{default initialization of an object of const type 'const S3' without…
42 S4() = default;
43 S4(const S4&) = default; // expected-note {{here}}
44 S4(S4&&) = default; // expected-note {{here}}
55 constexpr S5::S5() = default;
62 E1() noexcept = default;
63 E1(const E1&) noexcept = default;
64 E1(E1&&) noexcept = default;
65 E1 &operator=(const E1&) noexcept = default;
66 E1 &operator=(E1&&) noexcept = default;
67 ~E1() noexcept = default;
70 …E2() noexcept(false) = default; // expected-error {{exception specification of explicitly defaulte…
71 …E2(const E2&) noexcept(false) = default; // expected-error {{exception specification of explicitly…
72 …E2(E2&&) noexcept(false) = default; // expected-error {{exception specification of explicitly defa…
73 …E2 &operator=(const E2&) noexcept(false) = default; // expected-error {{exception specification of…
74 …E2 &operator=(E2&&) noexcept(false) = default; // expected-error {{exception specification of expl…
75 …~E2() noexcept(false) = default; // expected-error {{exception specification of explicitly default…
82 E3() = default;
83 E3(const E3&) = default;
84 E3(E3&&) = default;
85 E3 &operator=(const E3&) = default;
86 E3 &operator=(E3&&) = default;
87 ~E3() = default;
100 E5() = default;
101 E5(const E5&) = default;
102 E5(E5&&) = default;
103 E5 &operator=(const E5&) = default;
104 E5 &operator=(E5&&) = default;
105 ~E5() = default;
118 B() = default;
123 … B b; // expected-error {{default initialization of an object of const type 'const PR13492::B' wit… in f()