git subrepo clone (merge) git@github.com:Rconybea/xo-randomgen.git xo-randomgen
subrepo: subdir: "xo-randomgen" merged: "b9b7650d" upstream: origin: "git@github.com:Rconybea/xo-randomgen.git" branch: "main" commit: "b9b7650d" git-subrepo: version: "0.4.9" origin: "???" commit: "???"
This commit is contained in:
parent
4e1dd5679e
commit
6a991f657c
21 changed files with 806 additions and 0 deletions
16
xo-randomgen/example/ex2/ex2.cpp
Normal file
16
xo-randomgen/example/ex2/ex2.cpp
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
/* @file ex2.cpp */
|
||||
|
||||
#include "xo/randomgen/xoshiro256.hpp"
|
||||
#include "xo/randomgen/random_seed.hpp"
|
||||
|
||||
using namespace xo;
|
||||
using namespace xo::rng;
|
||||
|
||||
int
|
||||
main(int argc, char ** argv) {
|
||||
Seed<xoshiro256ss> seed;
|
||||
|
||||
xoshiro256ss eng(seed);
|
||||
} /*main*/
|
||||
|
||||
/* end ex2.cpp */
|
||||
Loading…
Add table
Add a link
Reference in a new issue