Public Member Functions | |
RepeatGenerator (size_t repeats, GeneratorWrapper< T > &&generator) | |
T const & | get () const override |
bool | next () override |
Public Member Functions inherited from IGenerator< T > | |
virtual | ~IGenerator ()=default |
Public Member Functions inherited from GeneratorUntypedBase | |
GeneratorUntypedBase ()=default | |
virtual | ~GeneratorUntypedBase () |
Additional Inherited Members | |
Public Types inherited from IGenerator< T > | |
using | type = T |
RepeatGenerator | ( | size_t | repeats, |
GeneratorWrapper< T > && | generator | ||
) |
|
overridevirtual |
Implements IGenerator< T >.
References GeneratorWrapper< T >::get().
|
overridevirtual |
Implements GeneratorUntypedBase.
References GeneratorWrapper< T >::next().