title: to_string is not a member of std, says g++ (mingw)
body: <p>I am making a small vocabulary remembering program where words would would be flashed at me randomly for meanings. I want to use standard C++ library as Bjarne Stroustroup tells us, but I have encountered a seemingly strange problem right out of the gate. </p>
  
  <p>I want to change a <code>long</code> integer into <code>std::string</code> so as to be able to store it in a file. I have employed <code>to_string()</code> for the same. The problem is, when I compile it with g++ (version 4.7.0 as mentioned in its --‍version flag), it says:</p>
  
  <pre><code>PS C:\Users\Anurag\SkyDrive\College\Programs&gt; g++ -std=c++0x ttd.cpp
  ttd.cpp: In function 'int main()':
  ttd.cpp:11:2: error: 'to_string' is not a member of 'std'
  </code></pre>
  
  <p>My program that gives this error is:</p>
  
  <pre><code>#include &lt;string&gt;
  
  int main()
  {
      std::to_string(0);
      return 0;
  }
  </code></pre>
  
  <p>But, I know it can't be because msdn library <a href="http://msdn.microsoft.com/en-us/library/ee404875.aspx" rel="noreferrer">clearly says</a> it exists and <a href="https://stackoverflow.com/questions/7521617/c11-to-string-function-where">an earlier question</a> on Stack Overflow (for g++ version 4.5) says that it can be turned on with the <code>-std=c++0x</code> flag. What am I doing wrong?</p>