.TH "std::experimental::filesystem::path" 3cxx "Wed Jul 28 2021" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::experimental::filesystem::path \- A filesystem path\&. .SH SYNOPSIS .br .PP .SS "Classes" .in +1c .ti -1c .RI "class \fBiterator\fP" .br .RI "An iterator for the components of a path\&. " .in -1c .SS "Public Types" .in +1c .ti -1c .RI "typedef \fBiterator\fP \fBconst_iterator\fP" .br .ti -1c .RI "typedef \fBstd::basic_string\fP< value_type > \fBstring_type\fP" .br .ti -1c .RI "typedef char \fBvalue_type\fP" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "template> \fBpath\fP (_InputIterator __first, _InputIterator __last)" .br .ti -1c .RI "template, typename _Require2 = __detail::__value_type_is_char<_InputIterator>> \fBpath\fP (_InputIterator __first, _InputIterator __last, const \fBlocale\fP &__loc)" .br .ti -1c .RI "template> \fBpath\fP (_Source const &__source)" .br .ti -1c .RI "template, typename _Require2 = __detail::__value_type_is_char<_Source>> \fBpath\fP (_Source const &__source, const \fBlocale\fP &__loc)" .br .ti -1c .RI "\fBpath\fP (const \fBpath\fP &__p)=default" .br .ti -1c .RI "\fBpath\fP (\fBpath\fP &&__p) noexcept" .br .ti -1c .RI "\fBpath\fP (\fBstring_type\fP &&__source)" .br .ti -1c .RI "template __detail::_Path< _InputIterator, _InputIterator > & \fBappend\fP (_InputIterator __first, _InputIterator __last)" .br .ti -1c .RI "template __detail::_Path< _Source > & \fBappend\fP (_Source const &__source)" .br .ti -1c .RI "template __detail::_Path< _InputIterator, _InputIterator > & \fBassign\fP (_InputIterator __first, _InputIterator __last)" .br .ti -1c .RI "template __detail::_Path< _Source > & \fBassign\fP (_Source const &__source)" .br .ti -1c .RI "\fBpath\fP & \fBassign\fP (\fBstring_type\fP &&__source)" .br .ti -1c .RI "\fBiterator\fP \fBbegin\fP () const" .br .ti -1c .RI "const value_type * \fBc_str\fP () const noexcept" .br .ti -1c .RI "void \fBclear\fP () noexcept" .br .ti -1c .RI "int \fBcompare\fP (const \fBbasic_string_view\fP< value_type > __s) const" .br .ti -1c .RI "int \fBcompare\fP (const \fBpath\fP &__p) const noexcept" .br .ti -1c .RI "int \fBcompare\fP (const \fBstring_type\fP &__s) const" .br .ti -1c .RI "int \fBcompare\fP (const value_type *__s) const" .br .ti -1c .RI "template __detail::_Path< _InputIterator, _InputIterator > & \fBconcat\fP (_InputIterator __first, _InputIterator __last)" .br .ti -1c .RI "template __detail::_Path< _Source > & \fBconcat\fP (_Source const &__x)" .br .ti -1c .RI "bool \fBempty\fP () const noexcept" .br .ti -1c .RI "\fBiterator\fP \fBend\fP () const" .br .ti -1c .RI "\fBpath\fP \fBextension\fP () const" .br .ti -1c .RI "\fBpath\fP \fBfilename\fP () const" .br .ti -1c .RI "\fBstd::string\fP \fBgeneric_string\fP () const" .br .ti -1c .RI "template, typename _Allocator = std::allocator<_CharT>> \fBstd::basic_string\fP< _CharT, _Traits, _Allocator > \fBgeneric_string\fP (const _Allocator &__a=_Allocator()) const" .br .ti -1c .RI "\fBstd::u16string\fP \fBgeneric_u16string\fP () const" .br .ti -1c .RI "\fBstd::u32string\fP \fBgeneric_u32string\fP () const" .br .ti -1c .RI "\fBstd::string\fP \fBgeneric_u8string\fP () const" .br .ti -1c .RI "\fBstd::wstring\fP \fBgeneric_wstring\fP () const" .br .ti -1c .RI "bool \fBhas_extension\fP () const" .br .ti -1c .RI "bool \fBhas_filename\fP () const" .br .ti -1c .RI "bool \fBhas_parent_path\fP () const" .br .ti -1c .RI "bool \fBhas_relative_path\fP () const" .br .ti -1c .RI "bool \fBhas_root_directory\fP () const" .br .ti -1c .RI "bool \fBhas_root_name\fP () const" .br .ti -1c .RI "bool \fBhas_root_path\fP () const" .br .ti -1c .RI "bool \fBhas_stem\fP () const" .br .ti -1c .RI "bool \fBis_absolute\fP () const" .br .ti -1c .RI "bool \fBis_relative\fP () const" .br .ti -1c .RI "\fBpath\fP & \fBmake_preferred\fP ()" .br .ti -1c .RI "const \fBstring_type\fP & \fBnative\fP () const noexcept" .br .ti -1c .RI "\fBoperator string_type\fP () const" .br .ti -1c .RI "template __detail::_Path< _CharT *, _CharT * > & \fBoperator+=\fP (_CharT __x)" .br .ti -1c .RI "template __detail::_Path< _Source > & \fBoperator+=\fP (_Source const &__x)" .br .ti -1c .RI "\fBpath\fP & \fBoperator+=\fP (\fBbasic_string_view\fP< value_type > __x)" .br .ti -1c .RI "\fBpath\fP & \fBoperator+=\fP (const \fBpath\fP &__x)" .br .ti -1c .RI "\fBpath\fP & \fBoperator+=\fP (const \fBstring_type\fP &__x)" .br .ti -1c .RI "\fBpath\fP & \fBoperator+=\fP (const value_type *__x)" .br .ti -1c .RI "\fBpath\fP & \fBoperator+=\fP (value_type __x)" .br .ti -1c .RI "template __detail::_Path< _Source > & \fBoperator/=\fP (_Source const &__source)" .br .ti -1c .RI "\fBpath\fP & \fBoperator/=\fP (const \fBpath\fP &__p)" .br .ti -1c .RI "template __detail::_Path< _Source > & \fBoperator=\fP (_Source const &__source)" .br .ti -1c .RI "\fBpath\fP & \fBoperator=\fP (const \fBpath\fP &__p)=default" .br .ti -1c .RI "\fBpath\fP & \fBoperator=\fP (\fBpath\fP &&__p) noexcept" .br .ti -1c .RI "\fBpath\fP & \fBoperator=\fP (\fBstring_type\fP &&__source)" .br .ti -1c .RI "\fBpath\fP \fBparent_path\fP () const" .br .ti -1c .RI "\fBpath\fP \fBrelative_path\fP () const" .br .ti -1c .RI "\fBpath\fP & \fBremove_filename\fP ()" .br .ti -1c .RI "\fBpath\fP & \fBreplace_extension\fP (const \fBpath\fP &__replacement=\fBpath\fP())" .br .ti -1c .RI "\fBpath\fP & \fBreplace_filename\fP (const \fBpath\fP &__replacement)" .br .ti -1c .RI "\fBpath\fP \fBroot_directory\fP () const" .br .ti -1c .RI "\fBpath\fP \fBroot_name\fP () const" .br .ti -1c .RI "\fBpath\fP \fBroot_path\fP () const" .br .ti -1c .RI "\fBpath\fP \fBstem\fP () const" .br .ti -1c .RI "\fBstd::string\fP \fBstring\fP () const" .br .ti -1c .RI "template, typename _Allocator = std::allocator<_CharT>> \fBstd::basic_string\fP< _CharT, _Traits, _Allocator > \fBstring\fP (const _Allocator &__a=_Allocator()) const" .br .ti -1c .RI "void \fBswap\fP (\fBpath\fP &__rhs) noexcept" .br .ti -1c .RI "\fBstd::u16string\fP \fBu16string\fP () const" .br .ti -1c .RI "\fBstd::u32string\fP \fBu32string\fP () const" .br .ti -1c .RI "\fBstd::string\fP \fBu8string\fP () const" .br .ti -1c .RI "\fBstd::wstring\fP \fBwstring\fP () const" .br .in -1c .SS "Static Public Attributes" .in +1c .ti -1c .RI "static constexpr value_type \fBpreferred_separator\fP" .br .in -1c .SH "Detailed Description" .PP A filesystem path\&. .PP Definition at line 195 of file experimental/bits/fs_path\&.h\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.