4.6.0
Freundlich's C++ toolkit
Loading...
Searching...
No Matches
fcppt::iterator::types< Derived, ValueType, Reference, DifferenceType, IteratorCategory > Struct Template Reference

Detailed Description

template<typename Derived, typename ValueType, typename Reference, typename DifferenceType, typename IteratorCategory>
struct fcppt::iterator::types< Derived, ValueType, Reference, DifferenceType, IteratorCategory >

The types passed to fcppt::iterator::base.

Template Parameters
DerivedThe derived type of fcppt::iterator::base.
ValueTypeThe value type of the iterator. This must be a type that users of the iterator can store a dereferenced value in.
ReferenceThe return value of operator*. If the iterator is at least a forward iterator, then this must be a (const) reference to ValueType.
DifferenceTypeThe difference type used for random access iterators. This is used to move an iterator forwards/backwards and to calculate the distance between two iterators.
IteratorCategoryThe category of the iterator. Must be one of the std:: iterator category classes.

Public Types

using derived = Derived
 
using value_type = ValueType
 
using reference = Reference
 
using difference_type = DifferenceType
 
using iterator_category = IteratorCategory
 

Member Typedef Documentation

◆ derived

template<typename Derived , typename ValueType , typename Reference , typename DifferenceType , typename IteratorCategory >
using fcppt::iterator::types< Derived, ValueType, Reference, DifferenceType, IteratorCategory >::derived = Derived

◆ difference_type

template<typename Derived , typename ValueType , typename Reference , typename DifferenceType , typename IteratorCategory >
using fcppt::iterator::types< Derived, ValueType, Reference, DifferenceType, IteratorCategory >::difference_type = DifferenceType

◆ iterator_category

template<typename Derived , typename ValueType , typename Reference , typename DifferenceType , typename IteratorCategory >
using fcppt::iterator::types< Derived, ValueType, Reference, DifferenceType, IteratorCategory >::iterator_category = IteratorCategory

◆ reference

template<typename Derived , typename ValueType , typename Reference , typename DifferenceType , typename IteratorCategory >
using fcppt::iterator::types< Derived, ValueType, Reference, DifferenceType, IteratorCategory >::reference = Reference

◆ value_type

template<typename Derived , typename ValueType , typename Reference , typename DifferenceType , typename IteratorCategory >
using fcppt::iterator::types< Derived, ValueType, Reference, DifferenceType, IteratorCategory >::value_type = ValueType