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

            Bug ID: 123620
           Summary: [reflection] extract: fnptr conv removing noexcept
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mpolacek at gcc dot gnu.org
  Target Milestone: ---

A FIXME in extract1.C:

```
#include <meta>

using namespace std::meta;

struct B {
  int fn2 () noexcept;
  static int fn4 () noexcept;
};
constexpr auto a13 = extract<int (*)()>(^^B::fn4);
constexpr auto a14 = extract<int (B::*)()>(^^B::fn2);
```

should work.

Reply via email to