title: Is it modern C++ to use srand to set random seed?
body: <p>For code that uses <code>std::random_shuffle</code>, I need to set a random seed so that the pseudorandom sequences produced vary in each program run.</p>
  
  <p>The <a href="http://www.cplusplus.com/reference/algorithm/random_shuffle/">code example here</a> makes a call to</p>
  
  <pre><code>srand ( unsigned ( time (NULL) ) );
  </code></pre>
  
  <p>which needs to</p>
  
  <pre><code>#include &lt;ctime&gt;
  #include &lt;cstdlib&gt;
  </code></pre>
  
  <p>I wonder: Since C++11 includes major updates to pseudorandom number generation, is this still up to date? What should I use to set the random seed for <code>std::random_shuffle</code>?</p>