Movatterモバイル変換


[0]ホーム

URL:


This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 119a. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.

2025-12-20


25. Exception specifications and pointers to members

Section:14.5  [except.spec]    Status:TC1    Submitter:unknown    Date:unknown

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.



[8]ページ先頭

©2009-2026 Movatter.jp