Lines Matching refs:noexcept
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…
90 static_assert(noexcept(E3(), E3(E3()), E3(e3), e3 = E3(), e3 = e3), "");
92 E4() noexcept(false);
93 E4(const E4&) noexcept(false);
94 E4(E4&&) noexcept(false);
95 E4 &operator=(const E4&) noexcept(false);
96 E4 &operator=(E4&&) noexcept(false);
97 ~E4() noexcept(false);
110 static_assert(!noexcept(E5()), "");
111 static_assert(!noexcept(E5(static_cast<E5&&>(e5))), "");
112 static_assert(!noexcept(E5(e5)), "");
113 static_assert(!noexcept(e5 = E5()), "");
114 static_assert(!noexcept(e5 = e5), "");