名前空間
変種
操作

std::regex_token_iterator<BidirIt,CharT,Traits>::operator==, operator!=

提供: cppreference.com
bool operator==( const regex_token_iterator& other ) const;
(C++11以上)
bool operator!=( const regex_token_iterator& other ) const;
(C++11以上)

*thisother が同等かどうか調べます。

2つの regex_token_iterator は以下の場合に同等です。

a) どちらも終端イテレータである。
b) どちらも接尾辞イテレータであり、その接尾辞が等しい。
c) どちらも終端イテレータでなく、接尾辞イテレータでもなく、以下が成り立つ。
  • position == other.position
  • N == other.N
  • subs == other.subs


1) *thisother等しいかどうか調べます。
2) *thisother等しくないかどうか調べます。

[編集] 引数

other - 比較する別の regex_token_iterator

[編集] 戻り値

1) *thisother等しい場合は true、そうでなければ false
2) *thisother等しくない場合は true、そうでなければ false