名前空間
変種
操作

std::reverse_iterator::operator[]

提供: cppreference.com

 
 
 
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-
 
/*unspecified*/ operator[]( difference_type n ) const;
指定された相対位置にある要素への参照を返します.
Original:
Returns a reference to the element at specified relative location.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

目次

[編集] パラメータ

n -
現在位置からの相対位置.
Original:
position relative to current location.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] 値を返します

相対的な位置にある要素を参照すると、それは、 current[-n-1]です.
Original:
A reference to the element at relative location, that is,  current[-n-1].
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集]

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

イテレータの指す要素にアクセスします
(パブリックメンバ関数) [edit]