名前空間
変種
操作

std::reverse_iterator::operator*,->

提供: cppreference.com

 
 
イテレータライブラリ
イテレータプリミティブ
Original:
Iterator primitives
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
iterator_traits
input_iterator_tag
output_iterator_tag
forward_iterator_tag
bidirectional_iterator_tag
random_access_iterator_tag
iterator
イテレータアダプタ
Original:
Iterator adaptors
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
reverse_iterator
ストリーム反復子
Original:
Stream iterators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
istream_iterator
ostream_iterator
istreambuf_iterator
ostreambuf_iterator
イテレータ操作
Original:
Iterator operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
advance
distance
prev(C++11)
next(C++11)
アクセスの範囲
Original:
Range access
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
begin(C++11)
end(C++11)
 
std::reverse_iterator
メンバ関数
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
reverse_iterator::reverse_iterator
reverse_iterator::operator=
reverse_iterator::base
reverse_iterator::operator*
reverse_iterator::operator->
reverse_iterator::operator[]
reverse_iterator::operator++
reverse_iterator::operator+
reverse_iterator::operator+=
reverse_iterator::operator--
reverse_iterator::operator-
reverse_iterator::operator-=
非メンバ関数
Original:
Non-member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
operator==
operator!=
operator<
operator>
operator+
operator-
 
reference operator*() const;
(1)
pointer operator->() const;
(2)
currentへ前の要素への参照やポインタを返します。.
Original:
Returns a reference or pointer to the element previous to current.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
1)
d_tmp = current; --d_tmp; return *d_tmp;に相当;
Original:
Equivalent to d_tmp = current; --d_tmp; return *d_tmp;;
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
&(operator*())に相当.
Original:
Equivalent to &(operator*()).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

目次

[編集] パラメータ

(なし)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] 値を返します

currentへ前の要素への参照やポインタ.
Original:
Reference or pointer to the element previous to current.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] ノート

イテレータオブジェクトは、関連付けられたイテレータの存続期間を超えて存続の参照を返すことを避けるために、補助的なメンバ変数d_tmpではなく、一時的な変数が含まれています.
Original:
The iterator object contains an auxiliary member variable d_tmp, not a temporary variable, to avoid returning a reference that persists beyond the lifetime of its associated iterator.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集]

[編集] も参照してください

インデックス要素に右辺値参照を取得します
Original:
obtains rvalue reference to indexed element
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数) [edit]