thirdparty/libgenerator/inc/generator/Iterator.hpp
Iterator(Generator &generator) noexcept :
			generator_{ &generator },
			value_{} {
		if (generator_->done())
			generator_ = nullptr;
		else
			value_ = generator_->generate();
	}
/// Iterator to the given generator.
Iterator to the given generator.
Iterator to the given generator .
Iterator(Generator &generator) noexcept :
			generator_{ &generator },
			value_{} {
		if (generator_->done())
			generator_ = nullptr;
		else
			value_ = generator_->generate();
	}
Iterator ( Generator & generator ) noexcept : generator_ { & generator } , value_ { } { if ( generator_ -> done ( ) ) generator_ = nullptr ; else value_ = generator_ -> generate ( ) ; }
Iterator to the given generator.
Iterator to the given generator .