[fs.path.native.obs]
31 Input/output library [input.output]
31.12 File systems [filesystems]
31.12.6 Class path [fs.class.path]
31.12.6.5 Members [fs.path.member]
31.12.6.5.6 Native format observers [fs.path.native.obs]
The string returned by all native format observers is in the native pathname format ([fs.class.path]).
const string_type& native() const noexcept;
Returns: The pathname in the native format.
const value_type* c_str() const noexcept;
Effects: Equivalent to: return native().c_str();
operator string_type() const;
template<class EcharT, class traits = char_traits<EcharT>, class Allocator = allocator<EcharT>>
basic_string<EcharT, traits, Allocator> string(const Allocator& a = Allocator()) const;
Remarks: All memory allocation, including for the return value, shall be performed by a.
std::string system_encoded_string() const;
std::wstring wstring() const;
std::u8string u8string() const;
std::u16string u16string() const;
std::u32string u32string() const;
Remarks: Conversion, if any, is performed as specified by [fs.path.cvt].
std::string display_string() const;
Returns: std::format("{}", *this).