Compare commits
3
Commits
94eb1dd173
...
febb89be9c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
febb89be9c | ||
|
|
bbeab2efd0 | ||
|
|
0448e01f0a |
@@ -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
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
// -----------------------------------------
|
// -----------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user