libstdc++: std::regex_iterator< _Bi_iter, _Ch_type, _Rx_traits (original) (raw)

#include <[regex](a00176%5Fsource.html)>

Public Types
typedef std::ptrdiff_t difference_type
typedef std::forward_iterator_tag iterator_category
typedef std::input_iterator_tag iterator_concept
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 ()=default
regex_iterator (_Bi_iter __a, _Bi_iter __b, const regex_type &__re, regex_constants::match_flag_type __m=regex_constants::match_default)
regex_iterator (_Bi_iter, _Bi_iter, const regex_type &&, regex_constants::match_flag_type=regex_constants::match_default)=delete
regex_iterator (const regex_iterator &)=default
const value_type & operator* () const noexcept
regex_iterator & operator++ ()
regex_iterator operator++ (int)
const value_type * operator-> () const noexcept
regex_iterator & operator= (const regex_iterator &)=default
bool operator== (const regex_iterator &) const noexcept
bool operator== (default_sentinel_t) const noexcept

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.

Since

C++11

Definition at line 2734 of file regex.h.

difference_type

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

iterator_category

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

iterator_concept

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

pointer

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

reference

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

regex_type

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

value_type

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

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

regex_iterator() [2/3]

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

regex_iterator() [3/3]

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

Copy constructs a regex_iterator.

operator*()

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

const value_type & std::regex_iterator< _Bi_iter, _Ch_type, _Rx_traits >::operator* ( ) const inlinenoexcept

Dereferences a regex_iterator.

Definition at line 2810 of file regex.h.

operator++() [1/2]

template<typename _Bi_iter , typename _Ch_type , typename _Rx_traits >

operator++() [2/2]

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

Postincrements a regex_iterator.

Definition at line 2830 of file regex.h.

operator->()

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

const value_type * std::regex_iterator< _Bi_iter, _Ch_type, _Rx_traits >::operator-> ( ) const inlinenoexcept

Selects a regex_iterator member.

Definition at line 2817 of file regex.h.

operator=()

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

Copy assigns one regex_iterator to another.

operator==() [1/2]

template<typename _Bi_iter , typename _Ch_type , typename _Rx_traits >

Tests the equivalence of two regex iterators.

Definition at line 498 of file regex.tcc.

operator==() [2/2]

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


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