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_features [2018/01/29 15:23] – [Ongoing hierarchical list of new C++11 features] rpjdayc_11_features [2018/02/02 09:23] (current) – [Standard Library] rpjday
Line 15: Line 15:
   * [[https://www.slideshare.net/goldshtn/whats-new-in-c-11|What's New in C++11]]   * [[https://www.slideshare.net/goldshtn/whats-new-in-c-11|What's New in C++11]]
   * [[http://en.cppreference.com/w/cpp/compiler_support#cpp11|C++11 compiler support]]   * [[http://en.cppreference.com/w/cpp/compiler_support#cpp11|C++11 compiler support]]
 +
 +
  
 ===== C++11 features ===== ===== C++11 features =====
Line 40: Line 42:
   * ''auto'' type deduction   * ''auto'' type deduction
   * ''constexpr'' (here?)   * ''constexpr'' (here?)
 +  * type traits
  
 Any other new character types? Any other new character types?
Line 49: Line 52:
   * Overloading and "= delete" for non-member functions   * Overloading and "= delete" for non-member functions
   * Trailing return types (mostly for templates)   * Trailing return types (mostly for templates)
 +
 +==== Looping ====
 +
   * Range for loops   * Range for loops
 +  * for_each, non-member begin() and end()
  
-==== Namespace ====+==== Namespaces ====
  
   * Inline namespaces   * Inline namespaces
Line 69: Line 76:
   * "''= delete''"   * "''= delete''"
  
 +==== Rvalue references ====
 +
 +  * Basic rvalue references
 +  * Rvalue references for ''*this''
  
 ==== Class features ==== ==== Class features ====
Line 80: Line 91:
   * ''override''   * ''override''
   * ''final''   * ''final''
 +
 +==== Smart pointers ====
 +
 +  * ''auto_ptr'' (deprecated)
 +  * ''unique_ptr''
 +  * ''shared_ptr''
 +  * ''weak_ptr''
  
 ==== Templates ==== ==== Templates ====
Line 108: Line 126:
   * relies heavily on move semantics   * relies heavily on move semantics
   * New algorithms [[https://blog.smartbear.com/development/the-biggest-changes-in-c11-and-why-you-should-care/|here]]   * New algorithms [[https://blog.smartbear.com/development/the-biggest-changes-in-c11-and-why-you-should-care/|here]]
 +  * tuple
  
 ==== Concurrency ==== ==== Concurrency ====
Line 118: Line 137:
  
   * extern template   * extern template
-  * Type traits 
   * Regular expressions   * Regular expressions
   * C99 preprocessor (''__cplusplus''??)   * C99 preprocessor (''__cplusplus''??)
  • c_11_features.1517239402.txt.gz
  • Last modified: 2018/01/29 15:23
  • by rpjday