How to concatenate static strings at compile time?
I recently revisited this problem, and found that the previous answer I gave produced ridiculously long compile times when concatenating more than a handful of strings. I have produced a new solution which leverages constexpr functions to remove the recursive templates responsible for the long compilation time. #include <array> #include <iostream> #include <string_view> template <std::string_view … Read more