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

This commit is contained in:
Victor Zverovich
2019-08-28 06:18:34 -07:00
parent 744302add0
commit 3f75e2b69e
9 changed files with 27 additions and 29 deletions

View File

@@ -18,9 +18,9 @@
// A custom argument formatter that doesn't print `-` for floating-point values
// rounded to 0.
class custom_arg_formatter
: public fmt::arg_formatter<fmt::internal::buffer_range<char>> {
: public fmt::arg_formatter<fmt::buffer_range<char>> {
public:
using range = fmt::internal::buffer_range<char>;
using range = fmt::buffer_range<char>;
typedef fmt::arg_formatter<range> base;
custom_arg_formatter(fmt::format_context& ctx,