| 22 | template <size_t N> |
| 23 | struct ConstexprString { |
| 24 | constexpr ConstexprString(const char (&str)[N]) { |
| 25 | std::copy_n(str, N, value); |
| 26 | hash = adler32(str); |
| 27 | } |
| 28 | constexpr bool operator!=(const ConstexprString& other) const { |
| 29 | return std::equal(value, value + N - 1, other.value); |
| 30 | } |