Open main menu

CDOT Wiki β

Changes

Programming Stream C11 C++11 Exclusions

28 bytes removed, 12:08, 3 May 2012
C++ Part
== C++ Part ==
* new: new - types - specification and qualification
:: alignas alignof – memory alignment for a variable
:: type-safe enumerations - enum class declaration – not implicitly converted to integers – cannot be compared to integers – underlying type is known - default type is int, can be overridden enum class Enum: unsigned int {vali1, val2} - requires explicit scoping: Enum::val1 – can also use explicit scoping with old-style enum
:: new - expressions
:: raw and cooked User-defined literals – suffix notation – 1234_suffix – numeric literals
:: new - encapsulation
:: default ctor – trivial and non-trivial - POD
:: new - library
:: initializer lists – extends from POD cases to all classes including std containers - initialization-list constructor – T::T(std::initializer_list<type> list) – initializer list is constant and the data in its members cannot be changed
:: computing return type of function objects
:: new - compatibility with C
:: plain old data – relaxed restrictions POD rules – trivial and std layout