[Bug c++/60125] defaulted constructor with throwing NSDMI still declared as noexcept
daniel.kruegler at googlemail dot com
gcc-bugzilla@gcc.gnu.org
Sun Feb 9 14:55:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60125
Daniel Krügler <daniel.kruegler at googlemail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |daniel.kruegler@googlemail.
| |com
--- Comment #1 from Daniel Krügler <daniel.kruegler at googlemail dot com> ---
This example corresponds to CWG issue 1351,
http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#1351
If the currently suggested wording would be accepted (see: "Proposed
resolution, April, 2013"), the bullet
"If f is a default constructor, the set also contains all members of the sets
of potential exceptions of the initialization of non-static data members from
brace-or-equal-initializers."
would apply and the default constructor would no longer be a noexcept
constructor.
More information about the Gcc-bugs
mailing list