$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Random number generation
From: David Kaplan (davkaplan_at_[hidden])
Date: 2010-03-08 14:28:10
>
>
>> Pass an integer to the constructor or call seed.
> The easiest way is
>
> boost::mt19937 gen(std::time(0));
>
> Thanks. Btw, I came across your blog,
it really helped me with boost threading!