std::experimental::filesystem::path::generic_string,generic_wstring,generic_u8string,...

Returns the internal pathname in generic pathname format, converted to specific string type. Conversion, if any, is specified in . The / character is used as the directory separator.

# Declarations

template< class CharT, class Traits = std::char_traits<CharT>,
class Alloc = std::allocator<CharT> >
std::basic_string<CharT,Traits,Alloc>
generic_string( const Alloc& a = Alloc() ) const;

(filesystem TS)

std::string generic_string() const;
std::wstring generic_wstring() const;
std::string generic_u8string() const;
std::u16string generic_u16string() const;
std::u32string generic_u32string() const;

# Parameters

# Return value

The internal pathname in generic pathname format, converted to specified string type.

# See also