{fmt} was created on this day 13 years ago with this thoughtful commit: https://github.com/fmtlib/fmt/commit/ec27d5d
Падабаецца 0
Рэпосты 0
@vitaut every time I use your library, I'm wondering why it hasn't been written earlier. I mean, really, everyone knew that iostreams were slow and ugly. And even pretended that exploiting a shift operator for output was a clever design decision. Meanwhile, Python's str.format() has been introduced in 2008...
Падабаецца 0
Рэпосты 0
@sevagribov Variadic templates were only introduced in C++11 so it was difficult to provide a sensible API before that. {fmt} emulated variadics for a bit and it was a PITA.
Падабаецца 0
Рэпосты 0
@vitaut well actually GCC supports variadic templates since version 4.4, which was released in 2009. But, anyway, I guess, you also had a similar feeling, that even in 2012 C++ is missing some basic functionality. Thanks for adding it :)
Падабаецца 0
Рэпосты 0
Адказаў пакуль няма 🐣