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

### 2966. Incomplete resolution of US 74

Section: 31.12.6.5.6 [fs.path.native.obs] Status: C++20 Submitter: Jonathan Wakely Opened: 2017-05-25 Last modified: 2021-02-25

Priority: Not Prioritized

View all issues with C++20 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 31.12.6.5.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 31.12.6.3 [fs.path.cvt]. The encoding of the string returned by `u8string()` is always UTF-8.