std::istreambuf_iterator<CharT,Traits>:: equal
From cppreference.net
<
cpp
|
iterator
|
istreambuf iterator
C++
Iterator library
| Iterator concepts | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Iterator primitives | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Algorithm concepts and utilities | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Indirect callable concepts | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Common algorithm requirements | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Utilities | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Iterator adaptors | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::istreambuf_iterator
| Member functions | ||||
|
istreambuf_iterator::equal
|
||||
| Non-member functions | ||||
|
(until C++20)
|
|
bool
equal
(
const
istreambuf_iterator
&
it
)
const
;
|
||
* this と it の両方が有効であるか、あるいは両方が無効であるかを、それらが使用するストリームバッファオブジェクトに関係なくチェックします。
目次 |
パラメータ
| it | - | 比較対象の別のストリームバッファイテレータ |
戻り値
true 両方の * this と it が有効である場合、または両方が無効である場合に false それ以外の場合。
例外
実装定義の例外をスローする可能性があります。
不具合報告
以下の動作変更に関する欠陥報告書は、以前に公開されたC++規格に対して遡及的に適用されました。
| DR | 適用バージョン | 公開時の動作 | 正しい動作 |
|---|---|---|---|
| LWG 110 | C++98 | シグネチャは bool equal ( istreambuf_iterator & it ) であった | const が追加された |
| LWG 1126 | C++98 |
LWG issue 110
が適切に解決されず、パラメータ型が
istreambuf_iterator&
のまま残っていた
|
const が追加された |