cpp / latest / regex / sub_match / sub_match.html /

std::sub_match<BidirIt>::sub_match

constexpr sub_match();
(since C++11)

Default constructs a std::sub_match. The matched member is set to false and the inherited members first and second are value-initialized.

This is the only publicly accessible and defined constructor.

Parameters

(none).

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/regex/sub_match/sub_match