Title
Missing specification of bad_any_cast::what()
Status
c++17
Section
[any.bad.any.cast]
Submitter
Great Britain

Created on 2017-02-03.00:00:00 last changed 90 months ago

Messages

Date: 2017-03-03.22:14:37

Proposed resolution:

This wording is relative to N4618.

  1. Insert the following series of paragraphs to [any.bad_any_cast] as indicated:

    const char* what() const noexcept override;
    

    -?- Returns: An implementation-defined NTBS.

    -?- Remarks: The message may be a null-terminated multibyte string ([multibyte.strings]), suitable for conversion and display as a wstring ([string.classes], [locale.codecvt]).

Date: 2017-03-03.22:14:37

[ Kona 2017-03-01 ]

Accepted as Immediate to resolve NB comment.

Date: 2017-02-03.00:00:00

Addresses GB 54

There is no specification for bad_any_cast.what.

Proposed change:

Add a paragraphs:

const char* what() const noexcept override;

Returns: An implementation-defined NTBS.

Remarks: The message may be a null-terminated multibyte string (17.5.2.1.4.2), suitable for conversion and display as a wstring (21.3, 22.4.1.4).

History
Date User Action Args
2017-07-30 20:15:43adminsetstatus: wp -> c++17
2017-03-05 23:46:08adminsetstatus: immediate -> wp
2017-03-03 22:14:37adminsetmessages: + msg9067
2017-03-03 22:14:37adminsetstatus: new -> immediate
2017-02-03 19:44:57adminsetmessages: + msg8852
2017-02-03 00:00:00admincreate