C++ 17 introduced a new keyword if constexpr. While we may need a for constexpr, however, there are no such keywords provided. This article is a guide on how to implement such a feature with C++ template.

Read more »
0%