Created on 2014-07-18.00:00:00 last changed 33 months ago
[Moved to DR at the October, 2015 meeting.]
Proposed resolution (May, 2015):
Change 14.5 [except.spec] paragraph 2 as follows:
An exception-specification shall appear onlyonwithin a lambda-declarator or within a function declarator for a function type, pointer to function type, reference to function type, or pointer to member function type that is the top-level type of a declarationor definition, or on such a type appearing as a parameter or return type in a function declarator. An exception-specification shall not appear in a typedef declaration or alias-declaration.of a function, variable, or non-static data member. It shall appear only on the top-level declarator, on the declarator of one of its parameter-declarations (if any), or on its return type. [Example:...
Suggested resolution:
Change 14.5 [except.spec] paragraph 2 as follows:
An exception-specification shall appear only on a function declarator for a function type, pointer to function type, reference to function type, or pointer to member function type that is the top-level type of a declarationor definitionof a function, variable, or non-static data member, or on such a type appearing as a parameter or return type in such a function declarator.An exception-specification shall not appear in a typedef declaration or alias-declaration.[Example:...
The declarations in which an exception-specification may appear is not completely clear from the current wording of 14.5 [except.spec] paragraph 2.
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-02-18 07:47:23 | admin | set | messages: + msg6707 |
2017-02-06 00:00:00 | admin | set | status: dr -> cd4 |
2015-11-10 00:00:00 | admin | set | messages: + msg6084 |
2015-11-10 00:00:00 | admin | set | status: ready -> dr |
2015-05-25 00:00:00 | admin | set | messages: + msg5469 |
2015-05-25 00:00:00 | admin | set | status: drafting -> ready |
2014-07-18 00:00:00 | admin | create |