Template Class SingleValueGenerator

Inheritance Relationships

Base Type

Class Documentation

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

Public Functions

inline SingleValueGenerator(T const &value)
inline SingleValueGenerator(T &&value)
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).