clean-code/VectorFiller/atlas/generator/generator.h

14 lines
224 B
C++

// -*- mode: c++ -*-
#pragma once
namespace atlas::generator {
template <typename T>
class Generator {
public:
virtual ~Generator() = default;
using value_type = T;
virtual auto next() -> value_type = 0;
};
}