std::match_results::begin, std::match_results::cbegin

From Cppreference

Jump to: navigation, search
iterator begin();
(C++11 feature)
const_iterator begin() const;
(C++11 feature)
const_iterator cbegin() const;
(C++11 feature)

Returns an iterator to the beginning of the list of sub-matches.

Contents

[edit] Parameters

(none)

[edit] Return value

Iterator to the first sub-match.

[edit] Exceptions

noexcept specification:  
noexcept

  (C++11 feature)

[edit] Complexity

Constant

[edit] See also

end
cend
returns iterator to the end of the list of sub-matches
(public member function)