Affected subclause: [fs.class.path]
Change: Return type of filesystem path format observer member functions
. Rationale: Required for new features
. Effect on original feature: Valid C++ 2017 code that depends on the
u8string() and
generic_u8string() member functions of
std::filesystem::path
returning
std::string is not valid in this revision of C++
. For example:
std::filesystem::path p;
std::string s1 = p.u8string();
std::string s2 = p.generic_u8string();