MCPcopy Create free account
hub / github.com/IronsDu/brynet / RandomIntegerGenerator

Method RandomIntegerGenerator

tests/catch.hpp:4630–4634  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4628public:
4629
4630 RandomIntegerGenerator(Integer a, Integer b):
4631 m_rng(rng()),
4632 m_dist(a, b) {
4633 static_cast<void>(next());
4634 }
4635
4636 Integer const& get() const override {
4637 return m_current_number;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected