
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05/02/2010 01:36 PM, Scott McMurray wrote:
It *would* simplify things greatly for me. I'm just concerned that it might make things more difficult for someone who just wants to use the library for a quick one-off test. My goal is, as much as possible, to stay out of the way of the person using the library -- for that, having a default "good enough" random generator is pretty much a necessity.
How about, then, you just provide a boost::xint::default_random_generator type (or typedef)? Users can then create a global instance for their simple testing needs. In my experience I usually end up wrapping the generator for the specific use anyways, so the code difference is tiny.
Sorry, but I'm confused. How would that be different from what the library is doing now? - -- Chad Nelson Oak Circle Software, Inc. * * * -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvdvRMACgkQp9x9jeZ9/wQ90QCgge5DtLXcfHH7IEqJAn5+DWki mKUAoNJHmjTrC7/Afhhc/6S5jTYRRvke =ZeA/ -----END PGP SIGNATURE-----