YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
random_device.cpp
Go to the documentation of this file.
1#include <fault/util.hpp>
2
4
6
9
13
15 return 0;
16}
17
19 return std::mt19937_64::min();
20}
21
23 return std::mt19937_64::max();
24}
25
27 _eng.seed(GetSeed());
28}
29
31}
32
33} // namespace yaclib::detail::thread
static constexpr result_type max()
static constexpr result_type min()
std::mt19937_64::result_type result_type
std::uint32_t GetSeed()
Definition util.cpp:18
Contract< V, E > MakeContract()
Creates related future and promise.
Definition contract.hpp:25