Template Class MapGenerator

Inheritance Relationships

Base Type

Class Documentation

template<typename T, typename U, typename Func>
class MapGenerator : public Catch::Generators::IGenerator<T>

Public Functions

template<typename F2 = Func>
inline MapGenerator(F2 &&function, GeneratorWrapper<U> &&generator)
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).