std::match_results<BidirIt,Alloc>::size - cppreference.com (original) (raw)
| 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] |