std::regex_iterator<BidirIt,CharT,Traits>::operator==,operator!= - cppreference.com
提供: cppreference.com
<tbody> </tbody>
|
|
(1) | (C++11以上) |
|
|
(2) | (C++11以上) |
2つの regex_iterator を比較します。
説明のために、 regex_iterator が以下のメンバを持つと考えます。
BidirIt begin;BidirIt end;const regex_type *pregex;std::regex_constants::match_flag_type flags;std::match_results<BidirIt> match;
1) *this と rhs がどちらも終端イテレータであれば、または以下の条件がすべて真であれば、 true を返します。
begin == rhs.beginend == rhs.endpregex == rhs.pregexflags == rhs.flagsmatch[0] == rhs.match[0]
2) !(*this == rhs) を返します。
引数
| rhs | - | 比較する regex_iterator
|