MCPcopy Create free account
hub / github.com/David-Haim/concurrencpp / random

Method random

test/include/utils/random.h:15–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13
14 public:
15 random() noexcept : mt(rd()), dist(-1'000'000, 1'000'000) {}
16
17 intptr_t operator()() {
18 return dist(mt);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected