CLion 2016.1 Help

C++ Support

CLion supports all the C++ standards up to C++11 except the following features:

  • User defined literals
  • Constexprs

You can enable the desired C++ standard using CMake set command of CMakeList.txt file of your project. For example:

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

CLion is compatible with libc++ (Clang) and libstdc++ (GCC) Standard Template Libraries (STL).

See Also

Last modified: 20 July 2016