User Tools

Site Tools


c

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 [2019/08/10 15:53]
rpjday [Coding style]
c [2019/08/13 12:31] (current)
rpjday [Links]
Line 10: Line 10:
   * ''​nothrow''​ forms of ''​new''​ and ''​delete''​ (11.2.4)   * ''​nothrow''​ forms of ''​new''​ and ''​delete''​ (11.2.4)
   * initializer lists   * initializer lists
 +  * "​using"​ for type aliases
  
 ===== Links ===== ===== Links =====
Line 31: Line 32:
  
   * [[https://​en.wikipedia.org/​wiki/​Compatibility_of_C_and_C++|Compatibility of C and C++]]   * [[https://​en.wikipedia.org/​wiki/​Compatibility_of_C_and_C++|Compatibility of C and C++]]
 +
 +===== Stroustrup =====
 +
 +
 +
 +
 +===== New features in C++11 =====
 +
 +==== move semantics ====
 +
 +==== variadic templates ====
 +
 +==== rvalue references ====
 +
 +==== forwarding references ====
 +
 +==== initializer lists ====
 +
 +==== static assertions ====
 +
 +==== auto ====
 +
 +==== lambda expressions ====
 +
 +==== decltype ====
 +
 +==== template aliases ====
 +
 +==== nullptr ====
 +
 +==== strongly-typed enums ====
 +
 +==== attributes ====
 +
 +==== constexpr ====
 +
 +==== delegating constructors ====
 +
 +==== user-defined literals ====
 +
 +==== explicit virtual overrides ====
 +
 +==== final specifier ====
 +
 +==== default functions ====
 +
 +==== deleted functions ====
 +
 +==== range-based for loops ====
 +
 +==== special member functions for move semantics ====
 +
 +==== converting constructors ====
 +
 +==== explicit conversion functions ====
 +
 +==== inline namespaces ====
 +
 +==== non-static data member initializers ====
 +
 +==== right angle brackets ====
 +
 +==== ref-qualified member functions ====
 +
 +==== trailing return types ====
  
 ===== Figure out ===== ===== Figure out =====
Line 56: Line 122:
     * concrete     * concrete
     * abstract     * abstract
 +
 +===== Standard library =====
 +
 +  * ''​std::​list''​
 +  * ''​std::​string''​
  
 ===== Coding style ===== ===== Coding style =====
  
   * use "​const"​ as much as possible, to qualify class methods   * use "​const"​ as much as possible, to qualify class methods
 +  * functions defined in a class are inlined by default
 +  * define non-member routines if they don't need access to the class
  
 ==== Internal C++ links ===== ==== Internal C++ links =====
c.1565452398.txt.gz ยท Last modified: 2019/08/10 15:53 by rpjday