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

2966. Incomplete resolution of US 74

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

Priority: Not Prioritized

View all issues with WP status.


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 [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 [fs.path.cvt]. The encoding of the string returned by u8string() is always UTF-8.