Scroll to navigation

std::experimental::filesystem::path::iterator(3cxx) std::experimental::filesystem::path::iterator(3cxx)

NAME

std::experimental::filesystem::path::iterator - An iterator for the components of a path.

SYNOPSIS

#include <filesystem>

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

Friends


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 844 of file experimental/bits/filesystem.

Member Typedef Documentation

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

Definition at line 847 of file experimental/bits/filesystem.

using std::experimental::filesystem::path::iterator::iterator_category = std::bidirectional_iterator_tag

Definition at line 851 of file experimental/bits/filesystem.

using std::experimental::filesystem::path::iterator::pointer = const path*

Definition at line 850 of file experimental/bits/filesystem.

using std::experimental::filesystem::path::iterator::reference = const path&

Definition at line 849 of file experimental/bits/filesystem.

using std::experimental::filesystem::path::iterator::value_type = path

Definition at line 848 of file experimental/bits/filesystem.

Constructor & Destructor Documentation

std::experimental::filesystem::path::iterator::iterator () [inline], [noexcept]

Definition at line 853 of file experimental/bits/filesystem.

Member Function Documentation

iterator std::experimental::filesystem::path::iterator::operator++ (int) [inline], [noexcept]

Definition at line 863 of file experimental/bits/filesystem.

iterator std::experimental::filesystem::path::iterator::operator-- (int) [inline], [noexcept]

Definition at line 868 of file experimental/bits/filesystem.

pointer std::experimental::filesystem::path::iterator::operator-> () const [inline], [noexcept]

Definition at line 859 of file experimental/bits/filesystem.

Friends And Related Function Documentation

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

Definition at line 876 of file experimental/bits/filesystem.

bool operator== (const iterator & __lhs, const iterator & __rhs) [friend]

Definition at line 872 of file experimental/bits/filesystem.

friend class path [friend]

Definition at line 880 of file experimental/bits/filesystem.

Author

Generated automatically by Doxygen for libstdc++ from the source code.

Sun Jan 8 2023 libstdc++