Title
Exception specifications and pointers to members
Status
tc1
Section
14.5 [except.spec]
Submitter
unknown

Created on 1998-10-24.00:00:00 last changed 263 months ago

Messages

Date: 1999-04-15.00:00:00

Proposed Resolution (04/99): Change the text in 14.5 [except.spec] paragraph 3 from:

Similarly, any function or pointer to function assigned to, or initializing, a pointer to function shall only allow exceptions that are allowed by the pointer or function being assigned to or initialized.
to:
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.
Date: 2022-11-20.07:54:16

14.5 [except.spec] paragraph 3 should say what happens when two pointers to members with different exception specifications are assigned to each other, initialized with one another, etc.

Proposed Resolution (04/99): Change the text in 14.5 [except.spec] paragraph 3 from:

Similarly, any function or pointer to function assigned to, or initializing, a pointer to function shall only allow exceptions that are allowed by the pointer or function being assigned to or initialized.
to:
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.
History
Date User Action Args
2003-04-25 00:00:00adminsetstatus: dr -> tc1
1999-09-14 00:00:00adminsetmessages: + msg212
1999-09-14 00:00:00adminsetstatus: review -> dr
1998-10-24 00:00:00admincreate