C++ コンセプト: InputIterator
提供: cppreference.com
|
|
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
InputIteratorは、ポイント先の要素から読み取ることができIteratorです.Original:
An
InputIterator is an Iterator that can read from the pointed-to element.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[編集] 要件
Itする型InputIteratorための上記の要件に加えて、インスタンスがaとbItの必要がありますOriginal:
In addition to the above requirements, for a type
It to be an InputIterator, instances a and b of It must:The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
| Expression | Return | Equivalent expression | Notes |
|---|---|---|---|
| a != b | bool | !(a == b) | |
| *a | value_type | If a == b equivalent to *b |
|
| a->m | (*a).m | ||
| ++a | It& | After this, copies of a may be invalidated
| |
| a++ | ++a | ||
| *a++ | value_type | value_type t = *a; ++a; |