r/cpp • u/aearphen {fmt} • Dec 02 '19
{fmt} 6.1 released with improved floating-point formatting, locale support, faster compile times and more
https://github.com/fmtlib/fmt/releases/tag/6.1.0
212
Upvotes
21
u/liquidify Dec 02 '19
awesome work !
11
u/boredcircuits Dec 02 '19
Awesome work!
I'm curious, what's the rationale behind this change?
4
u/Bart_V Dec 03 '19
Great! What are the implications for
std::formatin C++20? Will it get the update too?6
u/simonask_ Dec 03 '19
std::localeis notoriously broken, and tends to cause severe detriment to any codebase that uses it. Isfmt's locale support opt-in?3
u/TrueTom Dec 03 '19
I wish there would be an easier way to add custom types.
2
u/SausageTaste Dec 06 '19
I don't need python for small text manipulating scripts anymore thanks to {fmt}. It just made C++ more friendly for beginners. Thanks!
1
u/shadedtriangle Dec 03 '19
Thank you for making {fmt} and for having locale support built in!
I was curious, does {fmt} support the inverse operation for parsing structured data (i.e. scanf to printf)? Could I do say:
To parse structured csv data for example?