Compare commits

...
@@ -775,7 +775,7 @@ to_static_wstring_float_impl(double value) noexcept
// circuit evaluation will ensure that the
// second operand is not evaluated on conforming
// implementations.
long long num_written =
int num_written =
std::swprintf(buffer, N + 1, L"%f", value);
if (num_written < 0 ||
num_written > narrow)
@@ -834,7 +834,7 @@ to_static_wstring_float_impl(long double value) noexcept
// circuit evaluation will ensure that the
// second operand is not evaluated on conforming
// implementations.
long long num_written =
int num_written =
std::swprintf(buffer, N + 1, L"%Lf", value);
if (num_written < 0 ||
num_written > narrow)
@@ -3733,8 +3733,8 @@ public:
`{data() + pos, std::min(count, size() - pos))`.
@param pos The index to being the substring at. The
default arugment for this parameter is `0`.
@param count The length of the substring. The default arugment
default argument for this parameter is `0`.
@param count The length of the substring. The default argument
for this parameter is @ref npos.
@throw std::out_of_range `pos > size()`
@@ -3764,8 +3764,8 @@ public:
to `{data() + pos, std::min(count, size() - pos))`.
@param pos The index to being the substring at. The
default arugment for this parameter is `0`.
@param count The length of the substring. The default arugment
default argument for this parameter is `0`.
@param count The length of the substring. The default argument
for this parameter is @ref npos.
@throw std::out_of_range `pos > size()`