Files
cppdraft_translate/cppdraft/depr/fs/path/obs.md
2025-10-25 03:02:53 +03:00

40 lines
1.1 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[depr.fs.path.obs]
# Annex D (normative) Compatibility features [[depr]](./#depr)
## D.22 Deprecated file systems [[depr.filesystems]](depr.filesystems#depr.fs.path.obs)
### D.22.2 Deprecated filesystem path format observers [depr.fs.path.obs]
[1](#1)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/future.tex#L872)
The following members are declared in addition to those members
specified in [[fs.path.member]](fs.path.member "31.12.6.5Members"):
namespace std::filesystem {class path {public: std::string string() const;
std::string generic_string() const; };}
[🔗](#lib:string,path)
`std::string string() const;
`
[2](#2)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/future.tex#L892)
*Returns*: system_encoded_string()[.](#2.sentence-1)
[🔗](#lib:generic_string,path)
`std::string generic_string() const;
`
[3](#3)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/future.tex#L903)
*Returns*: generic_system_encoded_string()[.](#3.sentence-1)