title: What is a C++11 extension [-Wc++11-extensions]
body: <p>I need some help understanding where this error is occurring:</p>
  
  <blockquote>
    <p>warning: in-class initialization of non-static data member is a C++11 extension [-Wc++11-extensions]</p>
  </blockquote>
  
  <p>This is the section of the code that it is coming from:</p>
  
  <pre><code>typedef struct Hand {
      bool straight = false;
      bool flush = false;
      bool four = false;
      bool three = false;
      int pairs = 0;
      } Hand;
  </code></pre>