Date: 2020-06-17 14:53:33
I have wanted to use boost::random::random_device; as a seeder for my generator.
#include <boost/random/random_device.hpp> // For boost::random::random_device; seeder
But using this requires that I link to a library file
// LINK : fatal error LNK1104: cannot open file 'libboost_random-vc142-mt-gd-x64-1_73.lib'
So I have instead used C++ std random device successfully
// Use seeder to get a different set of values each time.
static boost::random::mt19937 gen(seeder()); // uint32_t
But is there any way I can stick to the Boost version (I imagine that it might prove more portable?
Or is this a delusion?)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk