#include <catch.hpp>
Public Member Functions | |
T const & | get () const override |
bool | next () override |
TakeGenerator (size_t target, GeneratorWrapper< T > &&generator) | |
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 Attributes | |
GeneratorWrapper< T > | m_generator |
size_t | m_returned = 0 |
size_t | m_target |
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.
|
private |
|
private |
|
private |