This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of C++17 status.
bad_optional_access
Section: 22.5.5 [optional.bad.access] Status: C++17 Submitter: Great Britain Opened: 2016-11-09 Last modified: 2017-07-30
Priority: 1
View all issues with C++17 status.
Discussion:
Addresses GB 49
LEWG 72 suggests
changing the base class of std::bad_optional_access
, but the issue
appears to have been forgotten.
Proposed change:
Address LEWG issue 72, either changing it for C++17 or closing the issue.[Issues Telecon 16-Dec-2016]
Priority 1; Marshall provides wording
Not the most important bug in the world, but we can't change it after we ship C++17, hence the P1.
[Kona 2017-03-01]
Accepted as Immediate to resolve NB comment.
Proposed resolution:
Changes are relative to N4604.
In the class synopsis in 20.6.5 [optional.bad_optional_access] change:
class bad_optional_access : public exceptionlogic_error{