CLion Help

C++ Support

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

  • User defined literals
  • Constexprs
  • Variadic templates

You can enable the desired C++ standard using CMake set directive in 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: 7 May 2015