title: Clang++ not understanding c++11 in mac terminal
body: <p>I am trying to get some c++ code (with c++11) to compile in the mac terminal. I tried</p>
  
  <pre><code>clang++ -std=c++11 main.cpp
  </code></pre>
  
  <p>but i get the error</p>
  
  <pre><code>error: invalid value 'c++11' in '-std=c++11'
  </code></pre>
  
  <p>My xcode is completely up to date, I am assuming I am doing something wrong in the terminal? The code runs fine in xcode itself, I just cannot get it to run in the terminal.
  Any tips would be great!</p>