title: std::mt19937 doesn't return random number
body: <p>I have the following piece of code:</p>
  
  <pre><code>unsigned int randomInt()
  {
      mt19937 mt_rand(time(0));
      return mt_rand();
  };
  </code></pre>
  
  <p>If I call this code, for example 4000 times in a for loop, I don't get random unsigned integers, instead I get for example 1000 times one value and the next 1000 times I get the next value. </p>
  
  <p>What am I doing wrong?</p>