🎨 Run clang-format, adjust format_to_result documentation
This commit is contained in:
parent
45595fd148
commit
90b6cdfdc6
@ -2876,7 +2876,7 @@ FMT_INLINE auto format_to_n(OutputIt out, size_t n, format_string<T...> fmt,
|
||||
|
||||
template <typename OutputIt, typename OutputSen = OutputIt>
|
||||
struct format_to_result {
|
||||
/** Iterator past the end of the last write. */
|
||||
/** Iterator pointing to just after the last succesful write in the range. */
|
||||
OutputIt out;
|
||||
/** Sentinel indicating the end of the output range. */
|
||||
OutputSen out_last;
|
||||
|
||||
@ -9,6 +9,8 @@
|
||||
#include "test-assert.h"
|
||||
// clang-format on
|
||||
|
||||
#include "fmt/base.h"
|
||||
|
||||
#include <climits> // INT_MAX
|
||||
#include <cstring> // std::strlen
|
||||
#include <functional> // std::equal_to
|
||||
@ -17,7 +19,6 @@
|
||||
#include <string> // std::string
|
||||
#include <type_traits> // std::is_same
|
||||
|
||||
#include "fmt/base.h"
|
||||
#include "gmock/gmock.h"
|
||||
|
||||
using fmt::string_view;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user