libstdc++
std::filesystem::path::iterator Class Reference

#include <fs_path.h>

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
 

Public Member Functions

 iterator (const iterator &)=default
 
reference operator* () const noexcept
 
iteratoroperator++ () noexcept
 
iterator operator++ (int) noexcept
 
iteratoroperator-- () noexcept
 
iterator operator-- (int) noexcept
 
pointer operator-> () const noexcept
 
iteratoroperator= (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.

Definition at line 934 of file bits/fs_path.h.

Member Typedef Documentation

◆ difference_type

using std::filesystem::path::iterator::difference_type = std::ptrdiff_t

Definition at line 937 of file bits/fs_path.h.

◆ iterator_category

◆ pointer

Definition at line 940 of file bits/fs_path.h.

◆ reference

Definition at line 939 of file bits/fs_path.h.

◆ value_type

Constructor & Destructor Documentation

◆ iterator()

std::filesystem::path::iterator::iterator ( )
inlinenoexcept

Definition at line 943 of file bits/fs_path.h.

Member Function Documentation

◆ operator++()

iterator std::filesystem::path::iterator::operator++ ( int  )
inlinenoexcept

Definition at line 953 of file bits/fs_path.h.

◆ operator--()

iterator std::filesystem::path::iterator::operator-- ( int  )
inlinenoexcept

Definition at line 958 of file bits/fs_path.h.

◆ operator->()

pointer std::filesystem::path::iterator::operator-> ( ) const
inlinenoexcept

Definition at line 949 of file bits/fs_path.h.

Friends And Related Symbol Documentation

◆ __path_iter_advance

void __path_iter_advance ( iterator __i,
difference_type  __n 
)
friend

Definition at line 991 of file bits/fs_path.h.

◆ __path_iter_distance

difference_type __path_iter_distance ( const iterator __first,
const iterator __last 
)
friend

Definition at line 977 of file bits/fs_path.h.

◆ operator!=

bool operator!= ( const iterator __lhs,
const iterator __rhs 
)
friend

Definition at line 966 of file bits/fs_path.h.

◆ operator==

bool operator== ( const iterator __lhs,
const iterator __rhs 
)
friend

Definition at line 962 of file bits/fs_path.h.

◆ path

friend class path
friend

Definition at line 970 of file bits/fs_path.h.


The documentation for this class was generated from the following file: