Made code easier to read

This commit is contained in:
2021-11-22 11:07:14 +01:00
parent 800c141a87
commit 5ad045fa58
4 changed files with 14 additions and 17 deletions

View File

@@ -12,7 +12,7 @@ public:
int main() {
constexpr auto formatted = format<"Test: {} {} {:0}">(142.4334, "abc", 1234);
constexpr auto formatted = format<"Test: {:012.5} {} {:034}">(142.4334, "abc", 1234);
for (const auto& c : formatted)
std::cout << c;