std::filesystem::path::iterator(3cxx)
β¨ std::filesystem::path::iterator β¨
okay bestie, this is the std::filesystem::path::iterator page from the 3cxx manual. It's literally an iterator for the components of a path, and the vibe check says: useful, precise, iconic. π
β¨ NAME β¨
std::filesystem::path::iterator - An iterator for the components of a path.
β¨ SYNOPSIS β¨
#include <fs_path.h>
πΈ Public Types πΈ
using difference_type = std::ptrdiff_tβ the difference type isstd::ptrdiff_t. πusing iterator_category = std::bidirectional_iterator_tagβ the iterator category isstd::bidirectional_iterator_tag. π¦using pointer = const path *β the pointer type isconst path *. β¨using reference = const path &β the reference type isconst path &. πΈusing value_type = pathβ the value type ispath. π
π Public Member Functions π
iterator (const iterator &)=defaultβ the copy constructor, defaulted. π«Άreference operator* () constβ the dereference operator, returnsreference. πiterator & operator++ ()β the pre-increment operator, returnsiterator &. π₯iterator operator++ (int)β the post-increment operator, returnsiterator. β¨iterator & operator-- ()β the pre-decrement operator, returnsiterator &. πiterator operator-- (int)β the post-decrement operator, returnsiterator. πΈpointer operator-> () constβ the arrow operator, returnspointer. π¦iterator & operator= (const iterator &)=defaultβ the copy assignment operator, defaulted. π
π§ Friends π§
void __path_iter_advance (iterator &__i, difference_type __n)β friend function for advancing. π₯difference_type __path_iter_distance (const iterator &__first, const iterator &__last)β friend function for distance. πbool operator!= (const iterator &__lhs, const iterator &__rhs)β the inequality operator. πbool operator== (const iterator &__lhs, const iterator &__rhs)β the equality operator. πclass pathβ friend classpath. π
π Detailed Description π
An iterator for the components of a path. That's the whole tea, bestie. π
π«Ά Author π«Ά
Generated automatically by Doxygen for libstdc++ from the source code.
Okay that's a wrap! This page came from libstdc++ and lives in the 3cxx manual section. The footer didn't have a date stamp, so no date to report β just classic manual-page energy, periodt. π β¨
π¦ where this page comes from
- ubuntu noble: libstdc++-11-doc 11.4.0-9ubuntu1
- ubuntu noble: libstdc++-11-doc 11.5.0-1ubuntu1~24.04.1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms