Namensräume
Varianten

operator<,<=,>,>=(std::move_iterator)

Aus cppreference.com

 
 
Iterator Bibliothek
Iterator Primitiven
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
Iterator Adaptern
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
Stream-Iteratoren
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
Iterator Operationen
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)
Reichen Zugang
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::istream_iterator
Member-Funktionen
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.
move_iterator::move_iterator
move_iterator::operator=
move_iterator::base
move_iterator::operator*
move_iterator::operator->
move_iterator::operator[]
move_iterator::operator++
move_iterator::operator+
move_iterator::operator+=
move_iterator::operator--
move_iterator::operator-
move_iterator::operator-=
Non-Member-Funktionen
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-
 
template<class Iterator1, class Iterator2 >

bool operator==(const move_iterator<Iterator1>& lhs,

                 const move_iterator<Iterator2>& rhs );
(1)
template<class Iterator1, class Iterator2 >

bool operator!=(const move_iterator<Iterator1>& lhs,

                 const move_iterator<Iterator2>& rhs );
(2)
template<class Iterator1, class Iterator2 >

bool operator<(const move_iterator<Iterator1>& lhs,

                const move_iterator<Iterator2>& rhs );
(3)
template<class Iterator1, class Iterator2 >

bool operator<=(const move_iterator<Iterator1>& lhs,

                 const move_iterator<Iterator2>& rhs );
(4)
template<class Iterator1, class Iterator2 >

bool operator>(const move_iterator<Iterator1>& lhs,

                const move_iterator<Iterator2>& rhs );
(5)
template<class Iterator1, class Iterator2 >

bool operator>=(const move_iterator<Iterator1>& lhs,

                 const move_iterator<Iterator2>& rhs );
(6)

Compares the underlying iterators.

[Bearbeiten]Parameter

lhs, rhs - iterator adaptors to compare

[Bearbeiten]Return Value

1)lhs.base()== rhs.base()
2)lhs.base()!= rhs.base()
3)lhs.base()< rhs.base()
4)lhs.base()<= rhs.base()
5)lhs.base()> rhs.base()
6)lhs.base()>= rhs.base()

[Bearbeiten]Beispiel

close