libstdc++
|
#include <stl_iterator.h>
Public Types | |
typedef __traits_type::difference_type | difference_type |
typedef __traits_type::iterator_category | iterator_category |
using | iterator_type = _Iterator |
typedef _Iterator | pointer |
typedef conditional< is_reference< __base_ref >::value, typenameremove_reference< __base_ref >::type &&, __base_ref >::type | reference |
typedef __traits_type::value_type | value_type |
Public Member Functions | |
template<typename _Iter > | |
constexpr | move_iterator (const move_iterator< _Iter > &__i) |
constexpr | move_iterator (iterator_type __i) |
constexpr iterator_type | base () const |
constexpr reference | operator* () const |
constexpr move_iterator | operator+ (difference_type __n) const |
constexpr move_iterator & | operator++ () |
constexpr move_iterator | operator++ (int) |
constexpr move_iterator & | operator+= (difference_type __n) |
constexpr move_iterator | operator- (difference_type __n) const |
constexpr move_iterator & | operator-- () |
constexpr move_iterator | operator-- (int) |
constexpr move_iterator & | operator-= (difference_type __n) |
constexpr pointer | operator-> () const |
template<typename _Iter > | |
constexpr move_iterator & | operator= (const move_iterator< _Iter > &__i) |
constexpr reference | operator[] (difference_type __n) const |
Class template move_iterator is an iterator adapter with the same behavior as the underlying iterator except that its dereference operator implicitly converts the value returned by the underlying iterator's dereference operator to an rvalue reference. Some generic algorithms can be called with move iterators to replace copying with moving.
Definition at line 1338 of file bits/stl_iterator.h.
typedef __traits_type::difference_type std::move_iterator< _Iterator >::difference_type |
Definition at line 1363 of file bits/stl_iterator.h.
typedef __traits_type::iterator_category std::move_iterator< _Iterator >::iterator_category |
Definition at line 1361 of file bits/stl_iterator.h.
using std::move_iterator< _Iterator >::iterator_type = _Iterator |
Definition at line 1351 of file bits/stl_iterator.h.
typedef _Iterator std::move_iterator< _Iterator >::pointer |
Definition at line 1365 of file bits/stl_iterator.h.
typedef conditional<is_reference<__base_ref>::value,typenameremove_reference<__base_ref>::type&&,__base_ref>::type std::move_iterator< _Iterator >::reference |
Definition at line 1370 of file bits/stl_iterator.h.
typedef __traits_type::value_type std::move_iterator< _Iterator >::value_type |
Definition at line 1362 of file bits/stl_iterator.h.
|
inlineconstexpr |
Definition at line 1374 of file bits/stl_iterator.h.
|
inlineexplicitconstexpr |
Definition at line 1378 of file bits/stl_iterator.h.
|
inlineconstexpr |
Definition at line 1383 of file bits/stl_iterator.h.
|
inlineconstexpr |
Definition at line 1396 of file bits/stl_iterator.h.
|
inlineconstexpr |
Definition at line 1409 of file bits/stl_iterator.h.
|
inlineconstexpr |
Definition at line 1457 of file bits/stl_iterator.h.
|
inlineconstexpr |
Definition at line 1421 of file bits/stl_iterator.h.
|
inlineconstexpr |
Definition at line 1428 of file bits/stl_iterator.h.
|
inlineconstexpr |
Definition at line 1461 of file bits/stl_iterator.h.
|
inlineconstexpr |
Definition at line 1468 of file bits/stl_iterator.h.
|
inlineconstexpr |
Definition at line 1442 of file bits/stl_iterator.h.
|
inlineconstexpr |
Definition at line 1449 of file bits/stl_iterator.h.
|
inlineconstexpr |
Definition at line 1472 of file bits/stl_iterator.h.
|
inlineconstexpr |
Definition at line 1417 of file bits/stl_iterator.h.
|
inlineconstexpr |
Definition at line 1388 of file bits/stl_iterator.h.
|
inlineconstexpr |
Definition at line 1479 of file bits/stl_iterator.h.