Date
2018-06-12.01:05:16
Message id
9888

Content

Proposed resolution:

This wording is relative to N4727.

  1. Edit [charconv.from.chars] as indicated:

    from_chars_result from_chars(const char* first, const char* last, float& value,
                                 chars_format fmt = chars_format::general);
    from_chars_result from_chars(const char* first, const char* last, double& value,
                                 chars_format fmt = chars_format::general);
    from_chars_result from_chars(const char* first, const char* last, long double& value,
                                 chars_format fmt = chars_format::general);
    

    -6- Requires: fmt has the value of one of the enumerators of chars_format.

    -7- Effects: The pattern is the expected form of the subject sequence in the "C" locale, as described for strtod, except that

    1. (7.1) — the only sign '+' that may only appear is '-'in the exponent part;

    2. (7.2) […]

    3. (7.3) […]

    4. (7.4) […]