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

From cppreference.com
Regular expressions library
Classes
(C++11)
Algorithms
Iterators
Exceptions
Traits
Constants
(C++11)
Regex Grammar
~match_results ( ) ;
(since C++11)

Destructs the match_results object and the associated sub-matches.

Complexity

Linear in the number of sub-matches.