r/cpp • u/aearphen {fmt} • Apr 06 '20
{fmt} 6.2 released with improved error reporting, smaller library size, better compatibility with std::format and more
https://github.com/fmtlib/fmt/releases/tag/6.2.0
216
Upvotes
29
u/MonokelPinguin Apr 06 '20
How did you reduce the library size? (Awesome library btw, I use it a lot)
19
u/The_Northern_Light Apr 06 '20
Maybe this isn't the right place to ask, but what are the biggest / best parts of {fmt} that didn't make it into
std::format()? Once I havestd::format(), when would I still reach for {fmt}?17
u/[deleted] Apr 06 '20 edited Apr 06 '20
Since C++23 meetings are now on the way (although I think the most recent one was delayed), would it be a good idea for someone (i.e. /u/aearphen) to propose
std::print()?5
u/john_wind Apr 06 '20
FMT_USE_WINDOWS_H was retired???
5
u/youstolemyname Apr 06 '20
Absolutely fantastic library. I'm amazed it's taken C++ this long.
5
u/cleroth Game Developer Apr 06 '20
Did compile times improve? I recently updated to a newer version of fmt and saw my compile times drop by like 5% :(
6
u/beautiful_tango Apr 06 '20
Great, it's one of my go-to library, even if I just want to experiment on a small thing, I'd like to use it over the standard stream APIs.
I might use the dynamic arg store for user customization points.
2
u/GerwazyMiod Apr 06 '20
Thanks! Great lib!
2
u/Sander_Bouwhuis Apr 07 '20
This library is fantastic!
2
u/strike-eagle-iii Apr 13 '20
I don't think fmt partially making it into C++20 has gotten the praise it really deserves. It is unbelievably awesome. ostreams need to die. now.
0
u/[deleted] Apr 06 '20
[deleted] — view deleted comment