News for hackers. Stuff that matters.
Re:Implementing a Type-safe printf in Rust by mFixman on Friday August 14, 2020 @08:58AM (#24157285)
Which raises the obvious questions: why didn't C++11 implement template printf along with variadic templates?

`cout <<` is ugly and hard to use for anything but the simplest printing. Type safe printf seems like the obvious use case of variadic templates.

Re:Implementing a Type-safe printf in Rust by signa11 on Friday August 14, 2020 @09:04AM (#24157344)
> Which raises the obvious questions: why didn't C++11 implement template printf along with variadic templates?

https://en.cppreference.com/w/cpp/utility/format and the actual proposal https://www.zverovich.net/2019/07/23/std-format-cpp20.html