table of contents
other versions
- Tumbleweed 2026.11.13-1.1
- Leap-16.0
- Leap-15.6
| std::match_results::empty(3) | C++ Standard Libary | std::match_results::empty(3) |
NAME¶
std::match_results::empty - std::match_results::empty
Synopsis¶
bool empty() const; (since C++11)
Checks whether the match was successful.
Parameters¶
(none)
Return value¶
true if *this represents the result of a failed match, false otherwise, i.e. size() == 0.
Exceptions¶
May throw implementation-defined exceptions.
Complexity¶
Constant.
See also¶
size returns the number of matches in a fully-established result
state
(public member function)
| 2026.11.10 | http://cppreference.com |