enable C++ 11 under GNU
one liner solution : g++ -D__cplusplus=201103L -std=gnu++11
in GUI
This can be set within Eclipse at
and
why 201103L?
Read
#if __cplusplus < 201103L # include
#else
….C++11 support
#end if
enable C++ 11 under GNU
one liner solution : g++ -D__cplusplus=201103L -std=gnu++11
in GUI
This can be set within Eclipse at
and
why 201103L?
Read
#if __cplusplus < 201103L # include
#else
….C++11 support
#end if