{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 @sevagribov oh yes Boost also emulated variadics template arguments (for tuples) and it is a huge pain. [I think that is still in use really; I was just reducing some code that used boost::tuples last week].
Падабаецца 0
Рэпосты 0