Main Page
Namespace List
Class Hierarchy
Alphabetical List
Compound List
File List
Namespace Members
Compound Members
File Members
Related Pages
more::gen::counter Class Template Reference
A
generator
which returns numbers with a given increment.
More...
#include <
more/gen/functional.h
>
Collaboration diagram for more::gen::counter:
[
legend
]
List of all members.
Public Types
typedef T
result_type
Public Methods
counter
(T init=0, T step_=1)
T
operator()
()
Detailed Description
template<typename T>
class more::gen::counter< T >
A
generator
which returns numbers with a given increment.
Member Typedef Documentation
template<typename T>
typedef T more::gen::counter::result_type
Constructor & Destructor Documentation
template<typename T>
more::gen::counter< T >::counter
(
T
init
= 0,
T
step_
= 1
)
[inline]
Member Function Documentation
template<typename T>
T more::gen::counter< T >::operator()
(
)
[inline]
The documentation for this class was generated from the following file:
more/gen/
functional.h
Generated on Sat Sep 7 19:12:25 2002 for more with Doxygen 1.2.13.1. Doxygen 1.2.13.1 is written and copyright 1997-2002 by
Dimitri van Heesch
.