class
<regex>

std::smatch

typedef match_results<string::const_iterator> smatch;
match_results for string objects
This is an instantiation of the match_results class template for matches on string objects (with string::const_iterator as its iterator type).

The members of this class are those described for match_results, but using string::const_iterator as its BidirectionalIterator template parameter.

Please, refer to match_results for further information.

See also