Section: 22.2 [utility] Status: Resolved Submitter: Jens Maurer Opened: 2017-04-11 Last modified: 2017-07-16 21:18:25 UTC
Priority: Not Prioritized
View all other issues in [utility].
View all issues with Resolved status.
We added from_chars_result and to_chars_result into <utility>, but those contain error_code instances, which come from <system_error>. This creates a circular dependency issue which is somewhat difficult to resolve, as error_code depends on error_category which has virtuals that return string — it would effectively force putting all of <string> into <utility>.Since (I believe) nobody has implemented this yet, would there be support for changing the member of from_chars_result / to_chars_result to an errc instead of an error_code (as a fast-track DR against 17)?
[2017-06-27, Jens comments]
The paper P0682R0 "Repairing elementary string conversions" is available in the pre-Toronto mailing and provides wording.
Resolved by the adoption of P0682R1 in Toronto.