Fixed parse issues: Format Type not being correctly parsed

This commit is contained in:
2021-11-25 16:25:39 +01:00
parent 7743c95631
commit afa7831e93
3 changed files with 19 additions and 21 deletions

View File

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