std::match_results<BidirIt,Alloc>::~match_results

From cppreference.com
< cpp‎ | regex‎ | match results
~match_results();
(since C++11)

Destructs the match_results object and the associated sub-matches.

Complexity

Linear in the number of sub-matches.