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 is std::ptrdiff_t. πŸ’–
  • using iterator_category = std::bidirectional_iterator_tag β€” the iterator category is std::bidirectional_iterator_tag. πŸ¦‹
  • using pointer = const path * β€” the pointer type is const path *. ✨
  • using reference = const path & β€” the reference type is const path &. 🌸
  • using value_type = path β€” the value type is path. πŸ’œ

πŸŽ€ Public Member Functions πŸŽ€

  • iterator (const iterator &)=default β€” the copy constructor, defaulted. 🫢
  • reference operator* () const β€” the dereference operator, returns reference. πŸ’–
  • iterator & operator++ () β€” the pre-increment operator, returns iterator &. πŸ”₯
  • iterator operator++ (int) β€” the post-increment operator, returns iterator. ✨
  • iterator & operator-- () β€” the pre-decrement operator, returns iterator &. πŸ’…
  • iterator operator-- (int) β€” the post-decrement operator, returns iterator. 🌸
  • pointer operator-> () const β€” the arrow operator, returns pointer. πŸ¦‹
  • 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 class path. πŸ‘‘

πŸ’– 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