◐ Shell
clean mode source ↗

std::iterator — cppreference.com

Материал из cppreference.com

<metanoindex/>

<tbody> </tbody>

Определено в заголовочном файле <iterator>

template< class Category, class T, class Distance = std::ptrdiff_t, class Pointer = T*, class Reference = T& > struct iterator;

std::iterator является базовым классом Для упрощения определения необходимого типа для итераторов.

Оригинал:

std::iterator is the base class provided to simplify definitions of the required types for iterators.

Текст был переведён автоматически используя Переводчик Google.
Вы можете проверить и исправить перевод. Для инструкций щёлкните сюда.

Типы-члены

Тип члена Определение
value_type T
difference_type Distance
pointer Pointer
reference Reference
iterator_category Category

См. также