title: "to_string" isn't a member of "std"?
body: <p>Okay, so I have</p>
  
  <p>tmp.cpp:</p>
  
  <pre><code>#include &lt;string&gt;
  
  int main()
  {
      std::to_string(0);
      return 0;
  }
  </code></pre>
  
  <p>But when I try to compile I get:</p>
  
  <pre><code>$ g++ tmp.cpp -o tmp
  tmp.cpp: In function ‘int main()’:
  tmp.cpp:5:5: error: ‘to_string’ is not a member of ‘std’
       std::to_string(0);
       ^
  </code></pre>
  
  <p>I'm running g++ version 4.8.1. Unlike all the other references to this error that I found out there, I am <em>not</em> using MinGW, I'm on Linux (3.11.2).</p>
  
  <p>Any ideas why this is happening? Is this standard behaviour and I did something wrong or is there a bug somewhere?</p>