title: How to tell scons to use the C++11 standard
body: <p>I don't manage to find how to tell scons to accept c++11 standard:</p>
  
  <p><strong>the SConstruct file:</strong></p>
  
  <pre><code>env=Environment(CPPPATH='/usr/include/boost/',
                  CPPDEFINES=[],
                  LIBS=[],
                  SCONS_CXX_STANDARD="c++11"
                  )
  
  env.Program('Hello', Glob('src/*.cpp'))
  </code></pre>
  
  <p><strong>the cpp file:</strong></p>
  
  <pre><code>#include &lt;iostream&gt;
  class A{};
  int main()
  {
    std::cout &lt;&lt; "hello world!" &lt;&lt; std::endl;
    auto test = new A; // testing auto C++11 keyword
    if( test == nullptr ){std::cout &lt;&lt; "hey hey" &lt;&lt; std::endl;} // testing nullptr keyword
    else{std::cout &lt;&lt; " the pointer is not null" &lt;&lt; std::endl;}
    return 0;
  };
  </code></pre>
  
  <p><strong>error message when calling scons:</strong></p>
  
  <pre><code>scons: Reading SConscript files ...
  scons: done reading SConscript files.
  scons: Building targets ...
  g++ -o src/hello_world.o -c -I/usr/include/boost src/hello_world.cpp
  src/hello_world.cpp: In function 'int main()':
  src/hello_world.cpp:13:8: error: 'test' does not name a type
  src/hello_world.cpp:15:7: error: 'test' was not declared in this scope
  src/hello_world.cpp:15:15: error: 'nullptr' was not declared in this scope
  scons: *** [src/hello_world.o] Error 1
  scons: building terminated because of errors.
  </code></pre>
  
  <p>obviously it doesn't understand <code>auto</code> and <code>nullptr</code> </p>