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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2021-11-05
     Ever confirmed|0                           |1

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The relevant rule before C++17 is [except.spec] p5

"A similar restriction applies to assignment to and initialization of pointers
to
functions, pointers to member functions, and references to functions: the
target entity shall allow at least the exceptions allowed by the source value
in the assignment or initialization."

Reply via email to