STD::FILESYSTEM::PATH_ITERATOR(3)
π¦ std::filesystem::path::iterator β libstdc++ Library Functions Manual, section 3 π¦
okay bestie, this is the page for the path-component iterator, and it is lowkey iconic. C++17 energy, no cap. π
πΈ NAME πΈ
std::filesystem::path::iterator β an iterator for the components of a path. periodt. β¨
β¨ SYNOPSIS β¨
π Public Types π
using difference_type = std::ptrdiff_t
using iterator_category = std::bidirectional_iterator_tag
using pointer = const path *
using reference = const path &
using value_type = path
thatβs the whole type lineup, bestie β difference_type, iterator_category, pointer, reference, and value_type, all sitting pretty. π
π 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
copy construction and assignment are both =default, and the dereference, arrow, pre/post increment, and pre/post decrement operators are all noexcept where shown. slay. π₯
π«Ά 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
friendship goals, fr fr β __path_iter_advance, __path_iter_distance, operator!=, operator==, and the friend class path. π
π¦ Detailed Description π¦
An iterator for the components of a path.
thatβs the main character summary, bestie. itβs an iterator for the components of a path β and thatβs the whole vibe. no extra lore, no side quests. π
β Since β
C++17. itβs been serving since C++17, and it ate. π
π Author π
Generated automatically by Doxygen for libstdc++ from the source code.
okay thatβs the page! footer tea: source/version is libstdc++, and the date is Fri Feb 14 2025. mwah, bestie ππ
π¦ where this page comes from
- centos-stream 9: gcc-toolset-13-libstdc++-docs 13.3.1-2.3.el9 Β· GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms