4 ms·
Tangential, but I'd like to point out that you can achieve compile-time metaprogramming much more easily in D, which provides the entire language during compila
by chadzawistowski 12y ago
Tangential, but I'd like to point out that you can achieve compile-time metaprogramming much more easily in D, which provides the entire language during compilation [1]. I find this to be much more straightforward than arcane uses of templates such as SFINAE [2].
[1] http://en.wikipedia.org/wiki/Compile_time_function_execution#example http://en.wikipedia.org/wiki/Compile_time_function_execution...
[2] http://en.m.wikipedia.org/wiki/Substitution_failure_is_not_an_error http://en.m.wikipedia.org/wiki/Substitution_failure_is_not_a...