From 103530d407fdb310c096d3d4a0c84bc12cc54f63 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 1 Mar 2015 20:58:45 -0800 Subject: [PATCH] Fix formatting --- format.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/format.h b/format.h index e07b6c61..cd932f32 100644 --- a/format.h +++ b/format.h @@ -2165,15 +2165,19 @@ class BasicMemoryWriter : public BasicWriter { #if FMT_USE_RVALUE_REFERENCES /** + \rst Constructs a :class:`fmt::BasicMemoryWriter` object moving the content of the other object to it. + \endrst */ BasicMemoryWriter(BasicMemoryWriter &&other) : BasicWriter(buffer_), buffer_(std::move(other.buffer_)) { } /** + \rst Moves the content of the other ``BasicMemoryWriter`` object to this one. + \endrst */ BasicMemoryWriter &operator=(BasicMemoryWriter &&other) { buffer_ = std::move(other.buffer_); @@ -2191,7 +2195,7 @@ typedef BasicMemoryWriter WMemoryWriter; into a fixed-size array. For writing into a dynamically growing buffer use :class:`fmt::BasicMemoryWriter`. - Any write method will throw std::runtime_error if the output doesn't fit + Any write method will throw ``std::runtime_error`` if the output doesn't fit into the array. You can use one of the following typedefs for common character types: