std::experimen...:path::iterator(3cxx)

πŸ¦‹ std::experimen...:path::iterator(3cxx) πŸ¦‹

Okay bestie, welcome to the std::experimen...:path::iterator(3cxx) page β€” manual section 3cxx. Yes, the title is literally truncated with ... in the original, and we are respecting that exact energy. No cap. πŸ’…


🌸 NAME 🌸

std::experimental::filesystem::path::iterator β€” an iterator for the components of a path. It’s giving β€œwalk the path pieces” realness. πŸŽ€


✨ SYNOPSIS ✨

Include vibe check:

#include <filesystem>

🧬 Public Types 🧬

  • using difference_type = std::ptrdiff_t β€” the difference type is std::ptrdiff_t, exactly. Slay.
  • using iterator_category = std::bidirectional_iterator_tag β€” iterator category tag: std::bidirectional_iterator_tag. Periodt.
  • using pointer = const path * β€” pointer type is const path *.
  • using reference = const path & β€” reference type is const path &.
  • using value_type = path β€” value type is path. Iconic.

πŸ’– Public Member Functions πŸ’–

  • iterator (const iterator &)=default β€” the copy constructor is defaulted. 🫢
  • reference operator* () const noexcept β€” dereference operator, returns reference, and it’s noexcept. ✨
  • iterator & operator++ () noexcept β€” pre-increment, returns iterator &, noexcept. πŸ’…
  • iterator operator++ (int) noexcept β€” post-increment with int, returns iterator, noexcept. πŸŽ€
  • iterator & operator-- () noexcept β€” pre-decrement, returns iterator &, noexcept. πŸ¦‹
  • iterator operator-- (int) noexcept β€” post-decrement with int, returns iterator, noexcept. 🌸
  • pointer operator-> () const noexcept β€” arrow operator, returns pointer, noexcept. πŸ”₯
  • iterator & operator= (const iterator &)=default β€” copy assignment is defaulted. πŸ‘‘

πŸ‘― Friends πŸ‘―

  • bool operator!= (const iterator &__lhs, const iterator &__rhs) noexcept β€” not-equal friend comparison with __lhs and __rhs, noexcept.
  • bool operator== (const iterator &__lhs, const iterator &__rhs) noexcept β€” equal friend comparison with __lhs and __rhs, noexcept.
  • class path β€” path is a friend. Main character friendship energy. 🫢

πŸ”₯ Detailed Description πŸ”₯

An iterator for the components of a path.

That’s the whole description, and honestly? It ate. πŸ’…


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code. The machine wrote it, and we respect the machine. πŸ€–βœ¨


Bye bestie! Footer tea: source/version is libstdc++, and the date is not printed in the original footer, so I’m not inventing one. πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from