libstdc++
std::experimental::filesystem::v1::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
 
iterator operator++ (int)
 
iterator operator-- (int)
 
pointer operator-> () const
 
iteratoroperator= (const iterator &)=default
 

Friends

bool operator!= (const iterator &__lhs, const iterator &__rhs)
 
bool operator== (const iterator &__lhs, const iterator &__rhs)
 
class path
 
reference operator* () const
 
iteratoroperator++ ()
 
iteratoroperator-- ()
 

Detailed Description

An iterator for the components of a path.

Definition at line 757 of file experimental/bits/fs_path.h.

Member Typedef Documentation

◆ difference_type

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

Definition at line 760 of file experimental/bits/fs_path.h.

◆ iterator_category

◆ pointer

◆ reference

◆ value_type

Constructor & Destructor Documentation

◆ iterator()

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

Definition at line 766 of file experimental/bits/fs_path.h.

Member Function Documentation

◆ operator*()

path::iterator::reference std::experimental::filesystem::v1::path::iterator::operator* ( ) const
inline

Definition at line 1158 of file experimental/bits/fs_path.h.

◆ operator++() [1/2]

path::iterator & std::experimental::filesystem::v1::path::iterator::operator++ ( )
inline

Definition at line 1124 of file experimental/bits/fs_path.h.

◆ operator++() [2/2]

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

Definition at line 775 of file experimental/bits/fs_path.h.

◆ operator--() [1/2]

path::iterator & std::experimental::filesystem::v1::path::iterator::operator-- ( )
inline

Definition at line 1141 of file experimental/bits/fs_path.h.

◆ operator--() [2/2]

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

Definition at line 778 of file experimental/bits/fs_path.h.

◆ operator->()

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

Definition at line 772 of file experimental/bits/fs_path.h.

Friends And Related Function Documentation

◆ operator!=

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

Definition at line 783 of file experimental/bits/fs_path.h.

◆ operator==

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

Definition at line 780 of file experimental/bits/fs_path.h.

◆ path

friend class path
friend

Definition at line 787 of file experimental/bits/fs_path.h.


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