Movatterモバイル変換


[0]ホーム

URL:


Issue 25 - WG21 CWG Issues
Title
Exception specifications and pointers to members
Status
tc1
Section
14.5 [except.spec]
Submitter
unknown

Created on1998-10-24.00:00:00 last changed277 months ago

Messages

msg212 (view)
Date: 1999-04-15.00:00:00

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

Similarly, any function or pointer to function assigned to,or initializing, a pointer to function shall only allow exceptions thatare allowed by the pointer or function being assigned to or initialized.
to:
A similar restriction applies to assignment to and initializationof pointers to functions, pointers to member functions, and referencesto functions: the target entity shall allow at least the exceptions allowedby the source value in the assignment or initialization.
msg69 (view)
Date: 2022-11-20.07:54:16

14.5 [except.spec] paragraph 3should say whathappens when two pointers to members withdifferent exception specifications are assigned to each other, initializedwith one another, etc.

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

Similarly, any function or pointer to function assigned to,or initializing, a pointer to function shall only allow exceptions thatare allowed by the pointer or function being assigned to or initialized.
to:
A similar restriction applies to assignment to and initializationof pointers to functions, pointers to member functions, and referencesto functions: the target entity shall allow at least the exceptions allowedby the source value in the assignment or initialization.
History
DateUserActionArgs
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

[8]ページ先頭

©2009-2026 Movatter.jp