2966. Incomplete resolution of US 74

Section: 30.11.7.4.6 [fs.path.native.obs] Status: WP Submitter: Jonathan Wakely Opened: 2017-05-25 Last modified: 2017-07-30

Priority: Not Prioritized

View all issues with WP status.

Discussion:

P0492R1 US-74 failed to replace one occurrence of pathstring, in [fs.path.native.obs] p8. It should be changed to native(), as with the other native format observers.

[2017-06-12, Moved to Tentatively Ready after 6 positive votes on c++std-lib]

Proposed resolution:

This wording is relative to N4659.

  1. Edit 30.11.7.4.6 [fs.path.native.obs] as indicated:

    std::string string() const;
    std::wstring wstring() const;
    std::string u8string() const;
    std::u16string u16string() const;
    std::u32string u32string() const;
    

    -8- Returns: pathstringnative().

    -9- Remarks: Conversion, if any, is performed as specified by 30.11.7.2 [fs.path.cvt]. The encoding of the string returned by u8string() is always UTF-8.