This page is a snapshot from the LWG issues list, see theLibrary Active Issues List for more information and the meaning ofResolved status.
to_chars /from_chars depend onstd::stringSection: 22.2[utility]Status:ResolvedSubmitter: Jens MaurerOpened: 2017-04-11Last modified: 2017-07-16
Priority:Not Prioritized
View all otherissues in [utility].
View all issues withResolved status.
Discussion:
We addedfrom_chars_result andto_chars_result into<utility>, but those containerror_code instances, which come from<system_error>. This creates a circular dependency issue which is somewhat difficult to resolve, aserror_code depends onerror_category which has virtuals that returnstring — it would effectively force putting all of<string> into<utility>.
from_chars_result /to_chars_result to anerrc instead of anerror_code (as a fast-track DR against 17)?[2017-06-27, Jens comments]
The paperP0682R0 "Repairing elementary string conversions" is available in the pre-Toronto mailing and provides wording.
[2017-07 Toronto]
Resolved by the adoption ofP0682R1 in Toronto.
Proposed resolution: