Remove char_traits dependency

This commit is contained in:
Victor Zverovich
2024-01-03 13:16:28 -08:00
parent c9287eb9f7
commit f2e43f967c
3 changed files with 21 additions and 29 deletions
+1 -2
View File
@@ -3767,8 +3767,7 @@ FMT_CONSTEXPR auto write(OutputIt out, Char value) -> OutputIt {
}
template <typename Char, typename OutputIt>
FMT_CONSTEXPR_CHAR_TRAITS auto write(OutputIt out, const Char* value)
-> OutputIt {
FMT_CONSTEXPR20 auto write(OutputIt out, const Char* value) -> OutputIt {
if (value) return write(out, basic_string_view<Char>(value));
throw_format_error("string pointer is null");
return out;