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.
Section: 20.8.3 [any.bad.any.cast] Status: C++17 Submitter: Great Britain Opened: 2017-02-03 Last modified: 2021-06-06
Priority: Not Prioritized
View all issues with C++17 status.
Addresses GB 54
There is no specification for bad_any_cast.what.
Add a paragraphs:
const char* what() const noexcept override;
Returns: An implementation-defined NTBS.Remarks: The message may be a null-terminated multibyte string (188.8.131.52.4.2), suitable for conversion and display as a wstring (21.3, 184.108.40.206).
Accepted as Immediate to resolve NB comment.
This wording is relative to N4618.
Insert the following series of paragraphs to [any.bad_any_cast] as indicated: