I defined the following class, expecting to be able to use std::array in a constexpr context, but calling the data function results in a compilation error. #include <array> template <size_t N> struct ConstexprString { consteval ConstexprString(const char (&_str)[N]) : char_array(std::to_array(_str)) { } consteval auto Data() const -> const char* { return char_array.data(); } private: const […]