##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::match_results::~match_results

From cppreference.com
< cpp‎ | regex‎ | match results

~match_results(); |  | (since C++11)

Destructs the `match_results` object and the associated sub-matches.

### [edit] Complexity

Linear in the number of sub-matches.

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/regex/match_results/%7Ematch_results&oldid=63420"