STD::EXPERIMENTAL::FILESYSTEM::PATH::ITERATOR(3)

πŸ“¦
version 16.2.1+r23+gd564253eb6c8 Β· 4 versions
, in arch rolling, fedora 44

✨ NAME ✨

std::experimental::filesystem::path::iterator β€” bestie, it's literally an iterator for the components of a path. that's the whole gig. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

okay so first things first, you gotta pull it in:

#include <filesystem>

πŸŽ€ Public Types πŸŽ€

the lil type aliases this thing rolls with, no cap:

  • difference_type
  • iterator_category
  • pointer
  • reference
  • value_type

🌸 Public Member Functions 🌸

these are the moves, periodt:

  • iterator (const iterator &)=default β€” copy constructor, defaulted, iconic behavior
  • reference operator* () const noexcept β€” dereference, she's noexcept and she's not sorry
  • iterator & operator++ () noexcept β€” pre-increment, step forward
  • iterator operator++ (int) noexcept β€” post-increment, also stepping forward but she hands you the old one first
  • iterator & operator-- () noexcept β€” pre-decrement, step back
  • iterator operator-- (int) noexcept β€” post-decrement, step back with a lil souvenir
  • pointer operator-> () const noexcept β€” arrow operator, giving you the pointer
  • iterator & operator= (const iterator &)=default β€” copy assignment, defaulted

πŸ’œ Friends πŸ’œ

her inner circle 🫢:

  • bool operator!= (const iterator &__lhs, const iterator &__rhs) noexcept
  • bool operator== (const iterator &__lhs, const iterator &__rhs) noexcept
  • class path

🌈 Detailed Description 🌈

An iterator for the components of a path. that's it, that's the vibe. she walks the pieces of your path one by one and she does it flawlessly. πŸ’…βœ¨


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code. (not a human, just the machine doing her thing, and honestly? she ate. πŸ“)


and that's a wrap bestie πŸ’– this one's from the libstdc++ girlies, filed under std::exper...h::iterator(3), go forth and iterate responsibly, mwah 🧚

πŸ“¦ where this page comes from
  • arch rolling: gcc 16.2.1+r23+gd564253eb6c8-1 Β· GPL-3.0-or-later WITH GCC-exception-3.1 AND GFDL-1.3-or-later
  • fedora 44: libstdc++-docs 16.0.1-0.10.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
  • fedora 44: libstdc++-docs 16.2.1-2.fc44
  • fedora 44: libstdc++-docs 16.2.1-3.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms