title: std::stoi not recognized by eclipse
body: <p>On my system, running Windows 7 x64, Eclipse Luna, and g++ 4.9.2 (installed via cygwin), it seems std::stoi was never declared by g++.
  According to the documentation, stoi is part of the string library, so obviously I have <code>#include &lt;string&gt;</code>.</p>
  
  <p>In addition, I know that stoi was introduced in C++11, and I have set the appropriate flags for my compiler (g++), even though this seems like an <strong>IDE error</strong>, rather than a compiler error.</p>
  
  <p>Still, I would get one of the following error messages when building my project:</p>
  
  <pre><code>error: 'stoi' is not a member of 'std'
  error: Function 'stoi' could not be resolved
  </code></pre>
  
  <p>How do I fix this? How do I make Eclipse recognize stoi?</p>