Skip to content
Bjarke Hammersholt Roune edited this page Aug 29, 2013 · 6 revisions

Use of C++11 features

According to this page these C++11 features are supported by GCC 4.7 (which is available for Cygwin) and the latest version of MSVC, the Intel compiler and Clang:

  • auto
  • decltype
  • extern template
  • lambda-expressions and closures
  • Local and Unnamed Types as Template Arguments
  • long long
  • New function declaration syntax for deduced return types
  • right angle brackes
  • R-Value References, std::move
  • static_assert
  • Strongly-typed enums
  • Built-in Type Traits
  • Range-based for-loop
  • nullptr

It's less clear exactly what parts of the C++11 standard library should work everywhere. So far it appears that almost the whole library works on these compilers.

Clone this wiki locally