MCPcopy Create free account
hub / github.com/cirquit/trdrop / BetweenGenerator

Method BetweenGenerator

ext/catch.hpp:2444–2444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2442class BetweenGenerator : public IGenerator<T> {
2443public:
2444 BetweenGenerator( T from, T to ) : m_from( from ), m_to( to ){}
2445
2446 virtual T getValue( std::size_t index ) const {
2447 return m_from+static_cast<int>( index );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected