• Home
  • Raw
  • Download

Lines Matching full:noexcept

5   float &f(int*) const noexcept;
8 auto g1() noexcept(noexcept(f(ptr))) -> decltype(f(this->ptr));
9 auto g2() const noexcept(noexcept(f((*this).ptr))) -> decltype(f(ptr));
15 static_assert(!noexcept(a.g1()), "exception-specification failure"); in testA()
16 static_assert(noexcept(a.g2()), "exception-specification failure"); in testA()
30 float &f(T*) const noexcept;
33 auto g1() noexcept(noexcept(f(ptr))) -> decltype(f(ptr));
34 auto g2() const noexcept(noexcept(f(((this))->ptr))) -> decltype(f(ptr));
35 auto g3() noexcept(noexcept(f(this->ptr))) -> decltype(f((*this).ptr));
36 auto g4() const noexcept(noexcept(f(((this))->ptr))) -> decltype(f(this->ptr));
37 auto g5() noexcept(noexcept(this->f(ptr))) -> decltype(this->f(ptr));
38 auto g6() const noexcept(noexcept(this->f(((this))->ptr))) -> decltype(this->f(ptr));
39 auto g7() noexcept(noexcept(this->f(this->ptr))) -> decltype(this->f((*this).ptr));
40 auto g8() const noexcept(noexcept(this->f(((this))->ptr))) -> decltype(this->f(this->ptr));
52 static_assert(!noexcept(ci.g1()), "exception-specification failure"); in test_C()
53 static_assert(noexcept(ci.g2()), "exception-specification failure"); in test_C()
54 static_assert(!noexcept(ci.g3()), "exception-specification failure"); in test_C()
55 static_assert(noexcept(ci.g4()), "exception-specification failure"); in test_C()
56 static_assert(!noexcept(ci.g5()), "exception-specification failure"); in test_C()
57 static_assert(noexcept(ci.g6()), "exception-specification failure"); in test_C()
58 static_assert(!noexcept(ci.g7()), "exception-specification failure"); in test_C()
59 static_assert(noexcept(ci.g8()), "exception-specification failure"); in test_C()
76 iter_swap(I x, I y) noexcept;
83 void swap(A& a) noexcept(noexcept(iter_swap(&t_, &a.t_)));
96 friend int add_to_v(A &t) noexcept(noexcept(v_ + 42)) in add_to_v()
117 …static int i() noexcept(noexcept(m + 2)); // expected-error{{'this' cannot be implicitly used in a…
143 void foo(Derived& d) noexcept(noexcept(d.bar(d))) {} in foo()