Compare commits

..
3 Commits
3 changed files with 5 additions and 1 deletions
+1
View File
@@ -14,6 +14,7 @@ AlignTrailingComments: true
AllowAllArgumentsOnNextLine: false AllowAllArgumentsOnNextLine: false
AllowAllConstructorInitializersOnNextLine: true AllowAllConstructorInitializersOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: false AllowAllParametersOfDeclarationOnNextLine: false
AllowShortCaseLabelsOnASingleLine: true
AllowShortLambdasOnASingleLine: All AllowShortLambdasOnASingleLine: All
AlwaysBreakTemplateDeclarations: Yes AlwaysBreakTemplateDeclarations: Yes
+2
View File
@@ -314,6 +314,8 @@ struct Formatter<Specifier> : Formatter<std::nullptr_t> {
} // namespace ruc::format } // namespace ruc::format
using ruc::format::Formatter;
#if 0 #if 0
TODO: TODO:
+2 -1
View File
@@ -4,7 +4,7 @@
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */
#include <cstdio> // FILE, fputs, stdout, stderr #include <cstdio> // FILE, fflush, fputs, stdout, stderr
#include <iomanip> // setprecision #include <iomanip> // setprecision
#include <ios> // defaultfloat, fixed #include <ios> // defaultfloat, fixed
#include <sstream> // stringstream #include <sstream> // stringstream
@@ -22,6 +22,7 @@ void variadicPrint(FILE* file, std::string_view format, TypeErasedParameters& pa
std::string string = stream.str(); std::string string = stream.str();
fputs(string.c_str(), file); fputs(string.c_str(), file);
fflush(file);
} }
// ----------------------------------------- // -----------------------------------------