std::match_results::end, std::match_results::cend

From Cppreference

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

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

Contents

[edit] Parameters

(none)

[edit] Return value

Iterator to the element past the last sub-match.

[edit] Exceptions

noexcept specification:  
noexcept

  (C++11 feature)

[edit] Complexity

Constant

[edit] See also

begin
cbegin
returns iterator to the beginning of the list of sub-matches
(public member function)