Content deleted Content added
Christian75 (talk | contribs) Remove {{DEFAULTSORT:Compile Time Function Execution}} |
c++11 version is not as powerful. added missing hyphens, removed incorrect hyphens. |
||
Line 1:
'''Compile
Even if the value of only some of the arguments are known, the compiler may still be able to perform some level of compile
==Example==
In earlier versions of [[C++]], [[template metaprogramming]] is often used to compute values at compile time, such as:
Line 26 ⟶ 25:
</source>
Using compile
Here's an example of CTFE in the [[D programming language]]:<ref>[http://d-programming-language.org/function.html#interpretation D 2.0 language specification: Functions]</ref>
Line 62:
</source>
In [[C++11]],
==
<references/>
|