Compile-time function execution: Difference between revisions

Content deleted Content added
Fix C++11 constexpr wiki link
Yobot (talk | contribs)
m Example: WP:CHECKWIKI error #61 fixed + general fixes using AWB (8884)
Line 27:
 
Using compile time function evaluation, code used to compute the factorial would be exactly the same as what one would write for run time evaluation.
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>:
 
<source lang="D">