3 ms·
Compile-time primes in modern C++
- blackflame7000 10y agoThat's probably one of the best introductory guides to C++ template meta-programming and constexpr. The syntax tends to immediately turn people off but this blog post does a good job of simplifying it.