FizzBuzz: Difference between revisions

Content deleted Content added
→‎{{header|C++}}: remove "runtime computation is ugly" remark, copyedit
Line 169: Line 169:
}</lang>
}</lang>


These version are ugly because they compute on runtime. The following code compute FizzBuzz on compile-time with meta-programmation:
Version computing FizzBuzz at compile time with metaprogramming:
<lang cpp>
<lang cpp>
#include <iostream>
#include <iostream>