cpp/regex/sub match

The class template is used by the regular expression engine to denote sequences of characters matched by marked sub-expressions. A match is a pair within the target range matched by the regular expression, but with additional observer functions to enhance code clarity.

Only the default constructor is publicly accessible. Instances of are normally constructed and populated as a part of a std container during the processing of one of the regex algorithms.

The member functions return defined default values unless the member is.

inherits from, although it cannot be treated as a std object because member functions such as assignment will not work as expected.

Specializations
Several specializations for common character sequence types are provided: