This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of Resolved status.

2480. Error handling of wbuffer_convert unclear

Section: 99 [depr.conversions.buffer] Status: Resolved Submitter: Jonathan Wakely Opened: 2015-03-04 Last modified: 2025-11-11

Priority: 4

View all other issues in [depr.conversions.buffer].

View all issues with Resolved status.

Discussion:

If a codecvt conversion returns codecvt_base::error should that be treated as EOF? An exception? Should all the successfully converted characters before a conversion error be available to the users of the wbuffer_convert and/or the internal streambuf, or does a conversion error lose information?

[2025-11-10 Resolved by the removal of wbuffer_convert via paper P2872R3 in Tokyo, 2024. Status changed: New → Resolved.]

Proposed resolution: