std::experimen...ilesystem::path(3cxx)
π std::experimental::filesystem::path β cxx manual, bestie π
okay so welcome to the 3cxx manual page for std::experimental::filesystem::path β yes, the whole mouthful β and she is literally A filesystem path. no cap. main character energy from the first line. π
β¨ NAME β¨
std::experimental::filesystem::path β A filesystem path. fr fr, that's the whole name. π
π¦ SYNOPSIS π¦
#include <filesystem>
πΈ Classes πΈ
class iteratorβ An iterator for the components of a path. she walks the components, she knows the components, she is the components. iconic. π¦
π Public Types π
typedef iterator const_iterator
typedef std::basic_string< value_type > string_type
typedef char value_type
π Public Member Functions π
bestie, this is the whole roster. every single signature is here, and yes you need all of them. don't let the cute headings distract you. π
template<typename _InputIterator , typename _Require =
__detail::_Path<_InputIterator, _InputIterator>> path
(_InputIterator __first, _InputIterator __last)
template<typename _InputIterator , typename _Require =
__detail::_Path<_InputIterator, _InputIterator>, typename _Require2
= __detail::__value_type_is_char<_InputIterator>> path
(_InputIterator __first, _InputIterator __last, const locale &__loc)
template<typename _Source , typename _Require =
__detail::_Path<_Source>> path (_Source const &__source)
template<typename _Source , typename _Require =
__detail::_Path<_Source>, typename _Require2 =
__detail::__value_type_is_char<_Source>> path (_Source const
&__source, const locale &__loc)
path (const path &__p)
path (path &&__p) noexcept
path (string_type &&__source)
template<typename _InputIterator > __detail::_Path< _InputIterator,
_InputIterator > & append (_InputIterator __first, _InputIterator
__last)
template<typename _Source > __detail::_Path< _Source > & append (_Source
const &__source)
template<typename _InputIterator > __detail::_Path< _InputIterator,
_InputIterator > & assign (_InputIterator __first, _InputIterator
__last)
template<typename _Source > __detail::_Path< _Source > & assign (_Source
const &__source)
path & assign (string_type &&__source)
iterator begin () const noexcept
const value_type * c_str () const noexcept
void clear () noexcept
int compare (const basic_string_view< value_type > __s) const
int compare (const path &__p) const noexcept
int compare (const string_type &__s) const
int compare (const value_type *__s) const
template<typename _InputIterator > __detail::_Path< _InputIterator,
_InputIterator > & concat (_InputIterator __first, _InputIterator
__last)
template<typename _Source > __detail::_Path< _Source > & concat (_Source
const &__x)
bool empty () const noexcept
iterator end () const noexcept
path extension () const
path filename () const
std::string generic_string () const
template<typename _CharT , typename _Traits = std::char_traits<_CharT>,
typename _Allocator = std::allocator<_CharT>> std::basic_string<
_CharT, _Traits, _Allocator > generic_string (const _Allocator
&__a=_Allocator()) const
std::u16string generic_u16string () const
std::u32string generic_u32string () const
std::string generic_u8string () const
std::wstring generic_wstring () const
bool has_extension () const
bool has_filename () const
bool has_parent_path () const
bool has_relative_path () const
bool has_root_directory () const
bool has_root_name () const
bool has_root_path () const
bool has_stem () const
bool is_absolute () const
bool is_relative () const
path & make_preferred ()
const string_type & native () const noexcept
operator string_type () const
template<typename _CharT > __detail::_Path< _CharT *, _CharT * > &
operator+= (_CharT __x)
template<typename _Source > __detail::_Path< _Source > & operator+=
(_Source const &__x)
path & operator+= (basic_string_view< value_type > __x)
path & operator+= (const path &__x)
path & operator+= (const string_type &__x)
path & operator+= (const value_type *__x)
path & operator+= (value_type __x)
template<typename _Source > __detail::_Path< _Source > & operator/=
(_Source const &__source)
path & operator/= (const path &__p)
template<typename _Source > __detail::_Path< _Source > & operator=
(_Source const &__source)
path & operator= (const path &__p)
path & operator= (path &&__p) noexcept
path & operator= (string_type &&__source)
path parent_path () const
path relative_path () const
path & remove_filename ()
path & replace_extension (const path &__replacement=path())
path & replace_filename (const path &__replacement)
path root_directory () const
path root_name () const
path root_path () const
path stem () const
std::string string () const
template<typename _CharT , typename _Traits = std::char_traits<_CharT>,
typename _Allocator = std::allocator<_CharT>> std::basic_string<
_CharT, _Traits, _Allocator > string (const _Allocator
&__a=_Allocator()) const
void swap (path &__rhs) noexcept
std::u16string u16string () const
std::u32string u32string () const
std::string u8string () const
std::wstring wstring () const
π₯ Static Public Attributes π₯
static constexpr value_type preferred_separator
π Detailed Description π
A filesystem path.
that's it. that's the detailed description. she said βA filesystem pathβ and then she left. the confidence is unmatched. πβ¨
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. not a human author, just Doxygen doing its little robot thing. π€π
π okay bestie, that's the whole page. source/version situation: it's the libstdc++ manual page, generated automatically by Doxygen from the source code, and the footer doesn't show a date. the footer label is the usual std::experimen...ilesystem::path(3cxx) vibe. bye! ππ«Ά
π¦ where this page comes from
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms