| 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 { |
| 70 | return static_cast<ValueType>(dist(*rng)); |
| 71 | }; |
| 72 | } |
| 73 | |
| 74 | private: |
| 75 | ValueType min_; |
nothing calls this directly
no outgoing calls
no test coverage detected