46 using t_impl = std::function<uint32_t()>;
48 :
impl_(std::move(impl))
This rng is used when the normal synced rng is not available this is currently only he case at the ve...
rng_deterministic(mt_rng &gen)
virtual uint32_t next_random_impl()
virtual ~rng_deterministic()
virtual ~rng_proxy()=default
std::function< uint32_t()> t_impl
virtual uint32_t next_random_impl()
this class does not give synced random results derived classes might do.
RAII class to use rng_deterministic in the current scope.
rng_deterministic new_rng_
~set_random_determinstic()
set_random_determinstic(mt_rng &rng)