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

Friends

void __path_iter_advance (iterator &__i, difference_type __n)
 
difference_type __path_iter_distance (const iterator &__first, const iterator &__last)
 
bool operator!= (const iterator &__lhs, const iterator &__rhs)
 
bool operator== (const iterator &__lhs, const iterator &__rhs)
 
class path
 

Detailed Description

An iterator for the components of a path.

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

Member Typedef Documentation

◆ difference_type

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

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

◆ iterator_category

◆ pointer

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

◆ reference

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

◆ value_type

Constructor & Destructor Documentation

◆ iterator()

std::filesystem::path::iterator::iterator ( )
inline

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

Member Function Documentation

◆ operator++()

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

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

◆ operator--()

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

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

◆ operator->()

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

Definition at line 882 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 915 of file bits/fs_path.h.

◆ __path_iter_distance

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

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

◆ operator!=

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

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

◆ operator==

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

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

◆ path

friend class path
friend

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


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