title: Error messages in Eclipse CDT on Ubuntu in (Compiling & Running!) C++11 project
body: <p>I'm having trouble with Eclipse CDT. When trying to write a program with C++11 code in it,
  I'm getting error messages that the C++11 functions "cannot be resolved", despite the program compiling and running perfectly fine.
  I've searched for solutions (e.g. <a href="https://stackoverflow.com/questions/7966976/eclipse-indigo-cdt-function-could-not-be-resolved">here</a> or <a href="https://stackoverflow.com/questions/8148235/eclipse-cdt-shows-semantic-errors-but-compilation-is-ok">here</a>), but none of them is working for me. </p>
  
  <p>This is a small example:
  <img src="https://i.stack.imgur.com/xAH8r.jpg" alt="enter image description here"></p>
  
  <p>I have gcc / g++ 4.7.3 installed and set the <code>std=c++11</code> flag in the project settings (C/C++ Build --> Settings --> Tool Settings --> GCC C++ Compiler --> Miscellaneous)</p>
  
  <p>Also, if I insert the <code>__cplusplus</code>macro somewhere, it's giving me the correct value <code>201103</code>.</p>
  
  <p>Any idea why this happens only for C++11 specific features?</p>