Don't use deprecated API in docs
This commit is contained in:
1 parent
8465869d7b
commit
e41ac1f875
2 files changed
+4
-4
No files matched your search
@@ -607,8 +607,8 @@ enum { inline_buffer_size = 500 };
|
||||
|
||||
**Example**::
|
||||
|
||||
fmt::memory_buffer out;
|
||||
format_to(out, "The answer is {}.", 42);
|
||||
auto out = fmt::memory_buffer();
|
||||
format_to(std::back_inserter(out), "The answer is {}.", 42);
|
||||
|
||||
This will append the following output to the ``out`` object:
|
||||
|
||||
|
||||
Reference in new issue
Block a user