C++ コンセプト: ForwardIterator
提供: cppreference.com
![]() |
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
ForwardIterator
は、ポイント先の要素からデータを読み取ることができますIterator
です.Original:
A
ForwardIterator
is an Iterator
that can read data 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.
マルチパスアルゴリズムで使用された場合
InputIterator
とは違って、それは正当性を保証.Original:
Unlike an
InputIterator
, it guarantees validity when used in multipass algorithms.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.
[編集] 要件
-
InputIterator
-
DefaultConstructible
-
a == b
++a == ++b
を意味しますOriginal:a == b
implies++a == ++b
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
It
する型Forwardterator
ための上記の要件に加えて、i
のインスタンスIt
を行う必要がありますOriginal:
In addition to the above requirements, for a type
It
to be an Forwardterator
, an instance i
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 |
---|---|---|---|
++i | const It& | After this, copies of i are still valid
| |
i++ | value_type temp = *i; ++i; |
||
*i++ | reference |
mutable ForwardIterator
はさらにForwardIterator
要件を満たしOutputIterator
です.Original:
A
mutable ForwardIterator
is a ForwardIterator
that additionally satisfies the OutputIterator
requirements.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.