STK++ 0.9.13
STK::hidden::IteratorTraits< Derived > Struct Template Reference

, More...

Detailed Description

template<typename Derived>
struct STK::hidden::IteratorTraits< Derived >

,

The traits struct IteratorTraits must be specialized for any iterator derived from the base class IteratorBase.

Note
We use the type names defined by the STL for the iterator_traits class.

For example:

template<typename Type>
{
typedef std::random_access_iterator_tag iterator_category;
typedef Type value_type;
typedef int difference_type;
typedef Type* pointer;
typedef Type& reference;
};

The traits struct IteratorTraits must be specialized for any iterator derived from the base class SparseIteratorBase.

Note
We use the type names defined by the STL for the iterator_traits class.

For example:

template<typename Type>
{
typedef std::random_access_iterator_tag iterator_category;
typedef Type value_type;
typedef int difference_type;
typedef Type* pointer;
typedef Type& reference;
};

The traits struct IteratorTraits must be specialized for any iterator derived from the base classes STK::IteratorBase and STK::InnerOperatorBase.

We use the type names defined by the STL for the iterator_traits class.

For example:

template<typename Type>
{
typedef std::random_access_iterator_tag iterator_category;
typedef Type value_type;
typedef int difference_type;
typedef Type* pointer;
typedef Type& reference;
};

Definition at line 67 of file STK_DenseIteratorBase.h.


The documentation for this struct was generated from the following file: