Fix naming

This commit is contained in:
Victor Zverovich 2024-01-15 15:03:44 -08:00
parent e954823531
commit 64091b7a25

View File

@ -600,15 +600,15 @@ struct has_to_string_view<
T, void_t<decltype(detail::to_string_view(std::declval<T>()))>>
: std::true_type {};
template <typename CharT, CharT... C> struct string_literal {
static constexpr CharT value[sizeof...(C)] = {C...};
constexpr operator basic_string_view<CharT>() const {
template <typename Char, Char... C> struct string_literal {
static constexpr Char value[sizeof...(C)] = {C...};
constexpr operator basic_string_view<Char>() const {
return {value, sizeof...(C)};
}
};
#if FMT_CPLUSPLUS < 201703L
template <typename CharT, CharT... C>
constexpr CharT string_literal<CharT, C...>::value[sizeof...(C)];
template <typename Char, Char... C>
constexpr Char string_literal<Char, C...>::value[sizeof...(C)];
#endif
enum class type {