MCPcopy Create free account
hub / github.com/cinder/Cinder / RandomIntegerGenerator

Method RandomIntegerGenerator

test/unit/src/catch.hpp:4631–4635  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

nextFunction · 0.50

Tested by

no test coverage detected