stdfilesystempathgeneric_stringstdfilesystempathgeneric_wstring(3)
std::filesystem::path::generic_string,std::filesystem::path::generic_wstring, - std::filesystem::path::generic_string,std::filesystem::path::generic_wstring,
Synopsis
Returns the internal pathname in generic pathname format, converted to specific
string type. Conversion, if any, is specified as follows:
template <class CharT, class Traits =
std::char_traits<CharT>,
(since
class Alloc = std::allocator<CharT> > (1)C++ 17)
std::basic_string<CharT, Traits, Alloc>
generic_string(const Alloc &a = Alloc()) const;
std::string generic_string() const;
std::wstring generic_wstring() const;
std::u16string generic_u16string() const;
std::u32string generic_u32string() const;
(2)(since(since
std::string generic_u8string() const;
C++ 17) C++ 17)(3)(until
C++ 20)
std::u8string generic_u8string() const;
(since
C++ 20)
Parameters
a
Type requirements
CharT must be one of the encoded character types
Return value
The internal pathname in generic pathname format, converted to specified string type.
Exceptions
(none)
See also
string
wstring