#include <catch.hpp>
Public Member Functions | |
template<typename... Gs> | |
Generators (Gs &&...moreGenerators) | |
T const & | get () const override |
bool | next () override |
Public Member Functions inherited from Catch::Generators::IGenerator< T > | |
virtual | ~IGenerator ()=default |
Public Member Functions inherited from Catch::Generators::GeneratorUntypedBase | |
GeneratorUntypedBase ()=default | |
virtual | ~GeneratorUntypedBase () |
Private Member Functions | |
void | populate (GeneratorWrapper< T > &&generator) |
void | populate (T &&val) |
template<typename U > | |
void | populate (U &&val) |
template<typename U , typename... Gs> | |
void | populate (U &&valueOrGenerator, Gs &&...moreGenerators) |
Private Attributes | |
size_t | m_current = 0 |
std::vector< GeneratorWrapper< T > > | m_generators |
Additional Inherited Members | |
Public Types inherited from Catch::Generators::IGenerator< T > | |
using | type = T |
|
inline |
|
inlineoverridevirtual |
Implements Catch::Generators::IGenerator< T >.
|
inlineoverridevirtual |
Implements Catch::Generators::GeneratorUntypedBase.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
private |
|
private |