diff --git a/include/fmt/core.h b/include/fmt/core.h index 2da3dc62..6cd41636 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -1776,6 +1776,15 @@ template class basic_format_context { if (!detail::is_back_insert_iterator()) out_ = it; } + FMT_CONSTEXPR auto put(char_type c) -> iterator { + *out_++ = c; + return out; + } + FMT_CONSTEXPR auto put(basic_string_view sv) -> iterator { + detail::copy_str(sv.data(), sv.data() + sv.size(), out); + return out; + } + FMT_CONSTEXPR auto locale() -> detail::locale_ref { return loc_; } };