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

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

πŸ’– std::filesystem::path::iterator πŸ’–

okay bestie, so this is one of those pages from the Library Functions Manual and it's literally the iterator for the components of a path. yes, that path. the std::filesystem one. let's get into it πŸ¦‹


✨ NAME ✨

std::filesystem::path::iterator β€” an iterator for the components of a path.


🌸 SYNOPSIS 🌸

#include <filesystem>

πŸŽ€ Public Types

  • using difference_type
  • using iterator_category
  • using pointer
  • using reference
  • using value_type

πŸ’… Public Member Functions

  • iterator (const iterator &)=default
  • reference operator* () const noexcept
  • iterator & operator++ () noexcept
  • iterator operator++ (int) noexcept
  • iterator & operator-- () noexcept
  • iterator operator-- (int) noexcept
  • pointer operator-> () const noexcept
  • iterator & operator= (const iterator &)=default

🫢 Friends

  • void __path_iter_advance (iterator &__i, difference_type __n) noexcept
  • difference_type __path_iter_distance (const iterator &__first, const iterator &__last) noexcept
  • 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. like, it walks the pieces of a path one by one and that's its whole main character job. periodt. ✨

⭐ Since

C++17


πŸ‘‘ Author πŸ’œ

generated automatically by Doxygen for libstdc++ from the source code. no human wrote this by hand and honestly? respect. 😭


that's the whole page bestie, mwah πŸ’… this one's from libstdc++ and it lives in the man section as std::files...h::iterator(3) β€” go forth and iterate, no cap 🧚

πŸ“¦ 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