2015:compile-time_computations_in_c_14
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
2015:compile-time_computations_in_c_14 [2014/10/29 07:16] – created jonjagger | 2015:compile-time_computations_in_c_14 [2016/06/11 14:05] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 6: | Line 6: | ||
**Duration**: | **Duration**: | ||
**Description**: | **Description**: | ||
- | While in the past C++ provided compile-time computation only very clumsily using templates with value parameters, C++11 introduced the constexpr keyword and allows functions and constants to be computed at compile time. It even introduced a new category of types "Literal Types" | + | While in the past C++ provided compile-time computation only very clumsily using templates with value parameters, C++11 introduced the constexpr keyword and allows functions and constants to be computed at compile time. It even introduced a new category of types 'Literal Types' |
\\ | \\ | ||
The tutorial covers many kinds of compile-time computations available in C++14, from constexpr functions and constants, literal types, variable templates, up to variadic templates using std:: | The tutorial covers many kinds of compile-time computations available in C++14, from constexpr functions and constants, literal types, variable templates, up to variadic templates using std:: |
2015/compile-time_computations_in_c_14.1414566977.txt.gz · Last modified: 2016/06/11 14:05 (external edit)