https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52869

--- Comment #16 from denin at mail dot ru ---
(In reply to Marek Polacek from comment #14)
> This is actually another problem, one that is tracked in PR86476.

Hmm.

$ cat wat.cpp 
struct Omg {
        void f() {}
        void g() noexcept(noexcept(f())) {}
};
$ g++ wat.cpp 
wat.cpp:3:31: error: cannot call member function ‘void Omg::f()’ without object
  void g() noexcept(noexcept(f())) {}
                               ^
$ g++ -v |& grep version
gcc version 8.2.1 20181127 (GCC)

Reply via email to