Template Class RangeGenerator

Inheritance Relationships

Base Type

Class Documentation

template<typename T>
class RangeGenerator : public Catch::Generators::IGenerator<T>

Public Functions

inline RangeGenerator(T const &start, T const &end, T const &step)
inline RangeGenerator(T const &start, T const &end)
inline virtual T const &get() const override
inline virtual bool next() override

Attempts to move the generator to the next element

Returns true iff the move succeeded (and a valid element can be retrieved).