Title
wstring_convert::converted() should be noexcept
Status
c++14
Section
[depr.conversions.string]
Submitter
Jonathan Wakely

Created on 2012-08-02.00:00:00 last changed 122 months ago

Messages

Date: 2013-04-19.22:36:19

Proposed resolution:

This wording is relative to N3376.

  1. Edit in the class template wstring_convert synopsis [conversions.string] p2:

    size_t converted() const noexcept;
    
  2. Edit the signature before [conversions.string] p6:

    size_t converted() const noexcept;
    
Date: 2013-04-20.00:00:00

[ 2013-04-20 Bristol ]

Date: 2013-03-15.00:00:00

[ 2013-03-15 Issues Teleconference ]

Moved to Tentatively Ready.

Defer the separate discsussion of state() to another issue, if anyone is ever motivated to file one.

Date: 2012-08-02.00:00:00

There is no reason wstring_convert::converted() shouldn't be noexcept.

It might be possible for wstring_convert::state() and wbuffer_convert::state() to be noexcept too, depending on the requirements on mbstate_t.

History
Date User Action Args
2014-02-20 13:20:35adminsetstatus: wp -> c++14
2013-04-25 19:07:07adminsetstatus: voting -> wp
2013-04-19 22:36:19adminsetmessages: + msg6481
2013-04-19 22:36:19adminsetstatus: ready -> voting
2013-03-18 14:33:00adminsetmessages: + msg6412
2013-03-18 13:02:36adminsetstatus: new -> ready
2012-08-11 22:25:36adminsetmessages: + msg6116
2012-08-02 00:00:00admincreate