Using Boost.Random to generate multiprecision integers from a seed
问题 I am attempting to use the Boost multiprecision libraries for C++ to generate large random numbers. I have been unable to create a generator which is seeded by the time or another random number, so my generator produces the same numbers on every run. How do I seed the generator with a changing value to produce different values on each run? Here is the code which works but produces the same values on each run: using namespace boost::multiprecision; using namespace boost::random; typedef