The following features are part of a continual phased release process leading towards full compliance with C++11. They can be enabled by using the -qlanglvl=extended0x group option. You can also use specific compiler options to enable or disable these features. See the following table.
Language feature | Discussed in: | C++11 individual suboption control |
---|---|---|
Auto type deduction | The auto type specifier (C++11) | |
C99 long long | Types of integer literals in C99 and C++11 | ![]() |
C99 preprocessor features adopted in C++11 | C99 preprocessor features adopted in C++11 (C++11) | |
Decltype | The decltype(expression) type specifier (C++11) | |
Defaulted and deleted functions | ||
Delegating constructors | Delegating constructors (C++11) | |
Explicit conversion operators | Explicit conversion operators (C++11) | |
Explicit instantiation declarations | Explicit instantiation declaration | |
Extended friend declarations | Friends (C++ only) | |
Generalized constant expression | Generalized constant expressions (C++11) | |
Inline namespace definitions | Inline namespace definitions (C++11) | |
Nullptr | Null pointers | |
Reference collapsing | Reference collapsing (C++11) | |
Right angle brackets | Class templates (C++ only) | |
Rvalue references | ||
Scoped enumerations | Enumerations | |
static_assert | static_assert declaration (C++11) | |
Trailing return type | Trailing return type (C++11) | |
Variadic templates | Variadic templates (C++11) |