4 ms·
C++20 adds std::format [0] which is based on the excellent fmtlib [1] (both type safe and claims to be substantially faster than printf) [0] https://en.cpprefe
by zorgmonkey 6y ago
C++20 adds std::format [0] which is based on the excellent fmtlib [1] (both type safe and claims to be substantially faster than printf)
[0] https://en.cppreference.com/w/cpp/utility/format/format https://en.cppreference.com/w/cpp/utility/format/format
[1] https://fmt.dev https://fmt.dev
- carlmr 6y agoC++20 is the distant future for a lot of code bases.