c_11_keywords

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
c_11_keywords [2018/01/28 10:32] rpjdayc_11_keywords [2018/01/28 11:12] (current) rpjday
Line 1: Line 1:
-Keywords that are either new in C++11, or have had their meanings changed:+Keywords totally new to C++11 (see [[http://en.cppreference.com/w/cpp/keyword|here]]):
  
   * [[http://en.cppreference.com/w/cpp/language/alignas|alignas]]   * [[http://en.cppreference.com/w/cpp/language/alignas|alignas]]
Line 5: Line 5:
   * [[http://en.cppreference.com/w/cpp/keyword/char16_t|char16_t]]   * [[http://en.cppreference.com/w/cpp/keyword/char16_t|char16_t]]
   * [[http://en.cppreference.com/w/cpp/keyword/char32_t|char32_t]]   * [[http://en.cppreference.com/w/cpp/keyword/char32_t|char32_t]]
-  * [[http://en.cppreference.com/w/cpp/keyword/class|class]] (adds declaration of scoped enumeration type) 
   * [[http://en.cppreference.com/w/cpp/keyword/constexpr|constexpr]]   * [[http://en.cppreference.com/w/cpp/keyword/constexpr|constexpr]]
   * [[http://en.cppreference.com/w/cpp/keyword/decltype|decltype]]   * [[http://en.cppreference.com/w/cpp/keyword/decltype|decltype]]
 +  * [[http://en.cppreference.com/w/cpp/keyword/noexcept|noexcept]]
 +  * [[http://en.cppreference.com/w/cpp/keyword/nullptr|nullptr]]
 +  * [[http://en.cppreference.com/w/cpp/keyword/static_assert|static_assert]]
 +  * [[http://en.cppreference.com/w/cpp/keyword/thread_local|thread_local]]
 +
 +Previous keywords that have had their meanings changed in C++11:
 +
 +  * [[http://en.cppreference.com/w/cpp/keyword/auto|auto]] (now interpreted as [[http://en.cppreference.com/w/cpp/language/auto|auto specifier]])
 +  * [[http://en.cppreference.com/w/cpp/keyword/class|class]] (adds declaration of [[http://en.cppreference.com/w/cpp/language/enum|scoped enumeration type]])
 +  * [[http://en.cppreference.com/w/cpp/keyword/default|default]] (adds support for [[http://en.cppreference.com/w/cpp/language/member_functions#Special_member_functions|generating default special member functions]], "''= default''")
 +  * [[http://en.cppreference.com/w/cpp/keyword/delete|delete]] (adds support for [[http://en.cppreference.com/w/cpp/language/function#Deleted_functions|deleted functions]], "''= delete''")
 +  * [[http://en.cppreference.com/w/cpp/keyword/export|export]] (unused and reserved as of C++11)
 +  * [[http://en.cppreference.com/w/cpp/keyword/extern|extern]] (now applies to [[http://en.cppreference.com/w/cpp/language/storage_duration|thread storage duration]])
 +  * [[http://en.cppreference.com/w/cpp/keyword/inline|inline]] (now applies to [[http://en.cppreference.com/w/cpp/language/namespace#Inline_namespaces|inline namespaces]])
 +  * [[http://en.cppreference.com/w/cpp/keyword/mutable|mutable]] (now applies to [[http://en.cppreference.com/w/cpp/language/lambda|lambda expressions]])
 +  * [[http://en.cppreference.com/w/cpp/keyword/sizeof|sizeof]] (adds [[http://en.cppreference.com/w/cpp/language/sizeof...|sizeof...]] for parameter packs]])
 +  * [[http://en.cppreference.com/w/cpp/keyword/struct|struct]] (adds support for [[http://en.cppreference.com/w/cpp/language/enum|scoped enumeration declaration]])
 +  * [[http://en.cppreference.com/w/cpp/keyword/using|using]] (adds support for [[http://en.cppreference.com/w/cpp/language/type_alias|type alias and alias template declaration]])
 +
 +Not new "keywords" but have special meaning in a particular context:
 +
 +  * [[http://en.cppreference.com/w/cpp/language/final|final]]
 +  * [[http://en.cppreference.com/w/cpp/language/override|override]]
  • c_11_keywords.1517135552.txt.gz
  • Last modified: 2018/01/28 10:32
  • by rpjday