title: Error: 'shuffle' is not a member of 'std'
body: <p>Using C++17, whenever I try to use <code>std::shuffle</code>, I get the error:</p>
  
  <blockquote>
    <p>'error: 'shuffle' is not a member of 'std''</p>
  </blockquote>
  
  <p>I'm using the Eclipse C++ IDE and MinGW 8.2 and can use other functions such as mt19937, string, etc perfectly fine. Here's the code where it keeps acting up:</p>
  
  <pre><code>#include "MyHeader.h"
  #include &lt;random&gt;
  using namespace std;
  
  void generateDictionary() {
      int initialAlphabet[26];
      for (int i = 0; i &lt; 26; i++) {
          initialAlphabet[i] = i;
      }
  
      std::mt19937 randomSeed(std::random_device{}());
      std::shuffle(initialAlphabet, initialAlphabet+26, randomSeed);
  }
  </code></pre>