std::regex_token_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_token_iterator
(C++11 feature)

Several specializations for common character sequence types are defined:

Defined in header <regex>
Type Definition
cregex_token_iterator regex_token_iterator<const char*>
wcregex_token_iterator regex_token_iterator<const wchar_t*>
sregex_token_iterator regex_token_iterator<std::string::const_iterator>
wsregex_token_iterator regex_token_iterator<std::wstring::const_iterator>