| 64 | template <typename ValueType, typename DistributionType> |
| 65 | struct GeneratorFactory { |
| 66 | GeneratorFactory(ValueType min, ValueType max) : min_(min), max_(max) {} |
| 67 | |
| 68 | auto operator()(pcg32* rng) const { |
| 69 | return [dist = DistributionType(min_, max_), rng]() mutable { |
nothing calls this directly
no outgoing calls
no test coverage detected