You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rngxx/src/main.cpp

23 lines
274 B

#include <rng.h>
#include <cstdio>
void r(Random& r)
{
u8 bytes[32];
r.next_bytes(bytes);
u32 n = r.next<u32>();
f64 f = r.next<f64>();
f = r.next_f64();
std::array<char, 10> nn = r.next<std::array<char, 10>>();
}
void test();
int main()
{
test();
return 0;
}