MCPcopy Create free account
hub / github.com/DmitriBogdanov/UTL / main

Function main

examples/module_random/constexpr_random.cpp:17–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17int main() {
18 constexpr auto random_array = random_integers<6>(0, -10, 10);
19
20 log::println(random_array); // using another module for convenience
21
22 // compile-time random like this can be used to automatically build
23 // lookup tables and generate seemingly random patterns
24}

Callers

nothing calls this directly

Calls 1

printlnFunction · 0.50

Tested by

no test coverage detected