Moved functions to appropriate header files; Implemented const char* formatting

This commit is contained in:
2021-11-25 11:04:24 +01:00
parent 8ccceeef0d
commit 3f46775b35
7 changed files with 133 additions and 166 deletions

View File

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