Cpp17FeaturesWeReallyWant: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
(Created page with "== What we as developers want from C++17 == * Polymorphic lambdas * Lambda init-captures * Generalized constant expressions (if-statements and loops in constexpr functions) *...")
 
 
Line 1: Line 1:
== What we as developers want from C++17 ==
== What we as developers want from C++17 ==
 
(The first three are already in C++14)
* Polymorphic lambdas
* Polymorphic lambdas
* Lambda init-captures
* Lambda init-captures
* Generalized constant expressions (if-statements and loops in constexpr functions)
* Generalized constant expressions (if-statements and loops in constexpr functions)
* if constexpr
* if constexpr

Latest revision as of 10:08, 20 November 2019

What we as developers want from C++17

(The first three are already in C++14)

  • Polymorphic lambdas
  • Lambda init-captures
  • Generalized constant expressions (if-statements and loops in constexpr functions)
  • if constexpr