SYNOPSIS

Public Types

typedef std::ptrdiff_t difference_type

typedef std::forward_iterator_tag iterator_category

typedef const value_type * pointer

typedef const value_type & reference

typedef basic_regex< _Ch_type,

_Rx_traits > regex_type"

typedef match_results< _Bi_iter > value_type

Public Member Functions

regex_iterator ()

regex_iterator (_Bi_iter __a, _Bi_iter __b, const regex_type &__re, regex_constants::match_flag_type __m=regex_constants::match_default)

regex_iterator (const regex_iterator &__rhs)=default

bool operator!= (const regex_iterator &__rhs) const

const value_type & operator* () const

regex_iterator & operator++ ()

regex_iterator operator++ (int)

const value_type * operator-> () const

regex_iterator & operator= (const regex_iterator &__rhs)=default

bool operator== (const regex_iterator &__rhs) const

Detailed Description

template<typename _Bi_iter, typename _Ch_type = typename iterator_traits<_Bi_iter>::value_type, typename _Rx_traits = regex_traits<_Ch_type>>class std::regex_iterator< _Bi_iter, _Ch_type, _Rx_traits >

An iterator adaptor that will provide repeated calls of regex_search over a range until no more matches remain.

Definition at line 2397 of file regex.h.

Constructor & Destructor Documentation

template<typename _Bi_iter , typename _Ch_type = typename iterator_traits<_Bi_iter>::value_type, typename _Rx_traits = regex_traits<_Ch_type>> \fBstd::regex_iterator\fP< _Bi_iter, _Ch_type, _Rx_traits >::\fBregex_iterator\fP ()\fC [inline]\fP

Provides a singular iterator, useful for indicating one-past-the-end of a range.

Definition at line 2411 of file regex.h.

Referenced by std::regex_iterator< _Bi_iter, _Ch_type, _Rx_traits >::regex_iterator().

template<typename _Bi_iter , typename _Ch_type = typename iterator_traits<_Bi_iter>::value_type, typename _Rx_traits = regex_traits<_Ch_type>> \fBstd::regex_iterator\fP< _Bi_iter, _Ch_type, _Rx_traits >::\fBregex_iterator\fP (_Bi_iter__a, _Bi_iter__b, const \fBregex_type\fP &__re, \fBregex_constants::match_flag_type\fP__m = \fC\fBregex_constants::match_default\fP\fP)\fC [inline]\fP

Constructs a regex_iterator...

Parameters:

__a [IN] The start of a text range to search.

__b [IN] One-past-the-end of the text range to search.

__re [IN] The regular expression to match.

__m [IN] Policy flags for match rules.

Definition at line 2422 of file regex.h.

References std::regex_iterator< _Bi_iter, _Ch_type, _Rx_traits >::regex_iterator(), and std::regex_search().

template<typename _Bi_iter , typename _Ch_type = typename iterator_traits<_Bi_iter>::value_type, typename _Rx_traits = regex_traits<_Ch_type>> \fBstd::regex_iterator\fP< _Bi_iter, _Ch_type, _Rx_traits >::\fBregex_iterator\fP (const \fBregex_iterator\fP< _Bi_iter, _Ch_type, _Rx_traits > &__rhs)\fC [default]\fP

Copy constructs a regex_iterator.

Member Function Documentation

template<typename _Bi_iter , typename _Ch_type = typename iterator_traits<_Bi_iter>::value_type, typename _Rx_traits = regex_traits<_Ch_type>> bool \fBstd::regex_iterator\fP< _Bi_iter, _Ch_type, _Rx_traits >::operator!= (const \fBregex_iterator\fP< _Bi_iter, _Ch_type, _Rx_traits > &__rhs) const\fC [inline]\fP

Tests the inequivalence of two regex iterators.

Definition at line 2452 of file regex.h.

template<typename _Bi_iter , typename _Ch_type = typename iterator_traits<_Bi_iter>::value_type, typename _Rx_traits = regex_traits<_Ch_type>> const \fBvalue_type\fP& \fBstd::regex_iterator\fP< _Bi_iter, _Ch_type, _Rx_traits >::operator* () const\fC [inline]\fP

Dereferences a regex_iterator.

Definition at line 2459 of file regex.h.

template<typename _Bi_iter , typename _Ch_type = typename iterator_traits<_Bi_iter>::value_type, typename _Rx_traits = regex_traits<_Ch_type>> \fBregex_iterator\fP& \fBstd::regex_iterator\fP< _Bi_iter, _Ch_type, _Rx_traits >::operator++ ()

Increments a regex_iterator.

template<typename _Bi_iter , typename _Ch_type = typename iterator_traits<_Bi_iter>::value_type, typename _Rx_traits = regex_traits<_Ch_type>> \fBregex_iterator\fP \fBstd::regex_iterator\fP< _Bi_iter, _Ch_type, _Rx_traits >::operator++ (int)\fC [inline]\fP

Postincrements a regex_iterator.

Definition at line 2479 of file regex.h.

template<typename _Bi_iter , typename _Ch_type = typename iterator_traits<_Bi_iter>::value_type, typename _Rx_traits = regex_traits<_Ch_type>> const \fBvalue_type\fP* \fBstd::regex_iterator\fP< _Bi_iter, _Ch_type, _Rx_traits >::operator-> () const\fC [inline]\fP

Selects a regex_iterator member.

Definition at line 2466 of file regex.h.

template<typename _Bi_iter , typename _Ch_type = typename iterator_traits<_Bi_iter>::value_type, typename _Rx_traits = regex_traits<_Ch_type>> \fBregex_iterator\fP& \fBstd::regex_iterator\fP< _Bi_iter, _Ch_type, _Rx_traits >::operator= (const \fBregex_iterator\fP< _Bi_iter, _Ch_type, _Rx_traits > &__rhs)\fC [default]\fP

Assigns one regex_iterator to another.

template<typename _Bi_iter , typename _Ch_type = typename iterator_traits<_Bi_iter>::value_type, typename _Rx_traits = regex_traits<_Ch_type>> bool \fBstd::regex_iterator\fP< _Bi_iter, _Ch_type, _Rx_traits >::operator== (const \fBregex_iterator\fP< _Bi_iter, _Ch_type, _Rx_traits > &__rhs) const

Tests the equivalence of two regex iterators.

Author

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