Make buffer_range public and update custom formatting docs (#1281)

This commit is contained in:
Victor Zverovich
2019-08-28 06:50:20 -07:00
parent 744302add0
commit 3f75e2b69e
9 changed files with 27 additions and 29 deletions
+1 -1
View File
@@ -426,7 +426,7 @@ template <typename CompiledFormat, typename... Args,
typename Char = typename CompiledFormat::char_type>
std::basic_string<Char> format(const CompiledFormat& cf, const Args&... args) {
basic_memory_buffer<Char> buffer;
using range = internal::buffer_range<Char>;
using range = buffer_range<Char>;
using context = buffer_context<Char>;
cf.template vformat_to<range, context>(range(buffer),
{make_format_args<context>(args...)});