A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.cppreference.com/w/cpp/language/../regex/basic_regex/../match_results/size.html below:

std::match_results<BidirIt,Alloc>::size - cppreference.com

size_type size() const noexcept;

(since C++11)

Returns the number of submatches, i.e. std::distance(begin(), end()).

Returns ​0​ if *this does not represent the result of a successful match.

[edit] Parameters

(none)

[edit] Return value

The number of submatches.

[edit] Complexity

Constant.

[edit] Example [edit] See also returns iterator to the beginning of the list of sub-matches
(public member function) [edit] returns iterator to the end of the list of sub-matches
(public member function) [edit]

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4