std::regex_iterator

From Cppreference

Jump to: navigation, search
template<

    class BidirectionalIterator,
    class CharT = typename std::iterator_traits<BidirectionalIterator>::value_type,
    class Traits = std::regex_traits<CharT>

> class regex_iterator
(C++11 feature)

Several specializations for common character sequence types are defined:

Defined in header <regex>
Type Definition
cregex_iterator regex_iterator<const char*>
wcregex_iterator regex_iterator<const wchar_t*>
sregex_iterator regex_iterator<std::string::const_iterator>
wsregex_iterator regex_iterator<std::wstring::const_iterator>