class ov::SeqGen¶
Overview¶
Infinite generator of sequence increasing values. More…
#include <sequnce_generator.hpp>
template <class T, Direction D = Direction::FORWARD>
class SeqGen
{
public:
// construction
SeqGen(const T& start);
// methods
template <
Direction Di = D,
typename std::enable_if<Di==Direction::BACKWARD>::type \* = nullptr
>
T operator () ();
};
Detailed Documentation¶
Infinite generator of sequence increasing values.
Start value can be specified.
Parameters:
T |
Type of sequence values (must support |