std::match_results<BidirIt,Alloc>::empty
来自cppreference.com
                    
                                        
                    < cpp | regex | match results
                    
                                                            
                    |   bool empty() const;  | 
 (C++11 起)  (C++20 前)  | 
|
|   [[nodiscard]] bool empty() const;  | 
(C++20 起) | |
检查匹配是否成功。
参数
(无)
返回值
size() == 0 (若 *this 表示成功匹配则为 false ,否则为 true )
异常
(无)
复杂度
常数。
参阅
|   返回完全建立的结果状态中的匹配数  (公开成员函数)  |