OKlibrary  0.2.1.6
OKlib::Iterators::counting_iterator< Incrementable, CategoryOrTraversal, Difference > Class Template Reference

counting_iterator<Incrementable> extends boost::counting_iterator<Incrementable> by providing an implicit conversion from Incrementable to counting_iterator. More...

#include <ImplicitConversionsBoost.hpp>

Inheritance diagram for OKlib::Iterators::counting_iterator< Incrementable, CategoryOrTraversal, Difference >:
counting_iterator

List of all members.

Public Types

typedef
boost::counting_iterator
< Incrementable,
CategoryOrTraversal,
Difference > 
base_type

Public Member Functions

 counting_iterator ()
 counting_iterator (Incrementable x)
 counting_iterator (const base_type &ci)

Detailed Description

template<class Incrementable, class CategoryOrTraversal = boost::use_default, class Difference = boost::use_default>
class OKlib::Iterators::counting_iterator< Incrementable, CategoryOrTraversal, Difference >

counting_iterator<Incrementable> extends boost::counting_iterator<Incrementable> by providing an implicit conversion from Incrementable to counting_iterator.

Todo:
Example where this extension is really useful?

Definition at line 36 of file ImplicitConversionsBoost.hpp.


Member Typedef Documentation

template<class Incrementable , class CategoryOrTraversal = boost::use_default, class Difference = boost::use_default>
typedef boost::counting_iterator<Incrementable, CategoryOrTraversal, Difference> OKlib::Iterators::counting_iterator< Incrementable, CategoryOrTraversal, Difference >::base_type

Definition at line 37 of file ImplicitConversionsBoost.hpp.


Constructor & Destructor Documentation

template<class Incrementable , class CategoryOrTraversal = boost::use_default, class Difference = boost::use_default>
OKlib::Iterators::counting_iterator< Incrementable, CategoryOrTraversal, Difference >::counting_iterator ( ) [inline]

Definition at line 38 of file ImplicitConversionsBoost.hpp.

template<class Incrementable , class CategoryOrTraversal = boost::use_default, class Difference = boost::use_default>
OKlib::Iterators::counting_iterator< Incrementable, CategoryOrTraversal, Difference >::counting_iterator ( Incrementable  x) [inline]

Definition at line 39 of file ImplicitConversionsBoost.hpp.

template<class Incrementable , class CategoryOrTraversal = boost::use_default, class Difference = boost::use_default>
OKlib::Iterators::counting_iterator< Incrementable, CategoryOrTraversal, Difference >::counting_iterator ( const base_type ci) [inline]

Definition at line 40 of file ImplicitConversionsBoost.hpp.


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