title: Visual Studio How to use C++ standard library in a kernel mode driver project?
body: <p>I'm using vs2015 and wdk10, I can use <strong>random</strong> in an empty project .</p>
  
  <pre><code>#include &lt;random&gt;
  std::default_random_engine eng;//works fine .
  </code></pre>
  
  <p>But when I create an empty kernel mode driver project ,I can't use <strong>random</strong> in  it.</p>
  
  <pre><code>#include &lt;random&gt;
  std::default_random_engine eng;//namespace "std" has no member "default_random_engine"
  </code></pre>
  
  <p>Other standard libraries ,like <strong>vector</strong> and <strong>tuple</strong> wouldn't work either , all reminding me that <strong>namespace "std" has no member XXX</strong> (vector ,tuple ,etc .)</p>
  
  <p>How can I solve this ?</p>