TrivialOutputIterator Class Reference

A trivial output iterator. More...

#include <TrivialOutputIterator.h>

Inheritance diagram for TrivialOutputIterator:
TrivialOutputIteratorCount

List of all members.

Public Types

typedef Base::iterator_category iterator_category
 The iterator category.
typedef Base::value_type value_type
 The type "pointed to" by the iterator.
typedef Base::difference_type difference_type
 Distance between iterators is represented as this type.
typedef Base::pointer pointer
 This type represents a pointer-to-value_type.
typedef Base::reference reference
 This type represents a reference-to-value_type.

Public Member Functions

Constructors etc.

 TrivialOutputIterator ()
 Default constructor.
 TrivialOutputIterator (const TrivialOutputIterator &)
 Copy constructor.
TrivialOutputIteratoroperator= (const TrivialOutputIterator &)
 Assignment operator.
Functionality

template<typename Value >
TrivialOutputIteratoroperator= (const Value &)
 Assignment of the "value type".
TrivialOutputIteratoroperator* ()
 Dereference.
TrivialOutputIteratoroperator++ ()
 Pre-increment.
TrivialOutputIterator operator++ (int)
 Post-increment.

Detailed Description

A trivial output iterator.

This is useful when you need a null container. When a function writes to an output iterator, but you do not need that result, you can use this trivial output iterator.


The documentation for this class was generated from the following file:
Generated on Thu Jun 30 02:14:52 2016 for Algorithms and Data Structures Package by  doxygen 1.6.3