Concat two `const char` string literals
A little bit of constexpr, sprinkled with some TMP and a topping of indices gives me this: #include <array> template<unsigned… Is> struct seq{}; template<unsigned N, unsigned… Is> struct gen_seq : gen_seq<N-1, N-1, Is…>{}; template<unsigned… Is> struct gen_seq<0, Is…> : seq<Is…>{}; template<unsigned N1, unsigned… I1, unsigned N2, unsigned… I2> constexpr std::array<char const, N1+N2-1> concat(char const (&a1)[N1], … Read more