Espaços nominais
Variantes
Acções

std::reverse_iterator::operator++,+,+=,--,-,-=

Da cppreference.com

 
 
Biblioteca Iterator
Primitivas iterador
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
Adaptadores de iterador
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
Iteradores fluxo
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
Operações iterador
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)
Variar de acesso
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
Funções de membro
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-=
Não-membros funções
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++();
(1)
reference operator--();
(2)
reference operator++( int );
(3)
reference operator--( int );
(4)
reverse_iterator operator+( difference_type n ) const;
(5)
reverse_iterator operator-( difference_type n ) const;
(6)
reverse_iterator& operator+=( difference_type n ) const;
(7)
reverse_iterator& operator-=( difference_type n ) const;
(8)
Aumenta ou diminui o iterador. Inverse operations are applied to the underlying operator because of the reverse order.
Original:
Increments or decrements the iterator. Inverse operations are applied to the underlying operator because of the reverse order.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
1-2)
Pré-incrementos ou pré-decrementos por um, respectivamente.
Original:
Pre-increments or pre-decrements by one respectively.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
3-4)
Pós-incrementos ou pós-decrementos por um, respectivamente.
Original:
Post-increments or post-decrements by one respectively.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
5-6)
Retorna um iterador que é avançado por n ou -n posições, respectivamente.
Original:
Returns an iterator which is advanced by n or -n positions respectively.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
7-8)
Avança o iterador por n ou -n posições respectivamente.
Original:
Advances the iterator by n or -n positions respectively.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Valor de retorno

1) *this
2)
uma cópia do *this que foi feito antes da mudança
Original:
a copy of *this that was made before the change
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
3) reverse_iterator(base()-n) or reverse_iterator(base()+n) respectively.
4) *this

[editar] Exemplo

[editar] Veja também

avança o iterador
Original:
advances the iterator
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(modelo de função) [edit]