std::filesystem::path::generic_string,std::filesystem::path::generic_wstring, (3) Linux Manual Page
std::filesystem::path::generic_string,std::filesystem::path::generic_wstring, – std::filesystem::path::generic_string,std::filesystem::path::generic_wstring,
Synopsis
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)
Returns the internal pathname in generic pathname format, converted to specific
string type. Conversion, if any, is specified as follows:
The
1)
3)
Parameters
a
Type requirements
–
CharT must be one of the encoded character types
char32_t)
Return value
The internal pathname in generic pathname format, converted to specified string
type.
Exceptions
(none)
See also
string
wstring
u8string
u16string
u32string
