class template
<regex>

std::regex_token_iterator

template <class BidirectionalIterator,
          class charT=typename iterator_traits<BidirectionalIterator>::value_type,
          class traits=regex_traits<charT> > class regex_token_iterator;
Regex token iterator
Iterator adaptor to iterate...

Template parameters

BidirectionalIterator
A bidirectional itetator type that iterates on the target sequence of characters.
charT
The character type.
traits
A regex traits type (see regex_traits for further info).

Member types

The following aliases are member types of match_results. They are widely used as parameter and return types by member functions:

member typedefinitionnotes
regex_typebasic_regex<charT,traits>Type of the basic_regex object used as pattern.
value_typesub_match<BidirectionalIterator>Type of the elements iterated (sub_match).
pointerconst value_type*
referenceconst value_type&
difference_typestd::ptrdiff_tA signed integral type (see ptrdiff_t).
iterator_categorystd::forward_iterator_tagForward iterator

Member functions


Operators