CLion 2016.2 Help

C++ Support

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

  • 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: 22 November 2016