Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
However, C++ 20 gives us a standard formatting library based on fmt, which offers the same formatting flexibility as the old insertion and extraction operators with a saner interface. Then C++ 23 gives us std::print, which just wraps around the formatting library and prints to a stream. Overall, a good addition. The only problem I have with it is that it operates on C FILE pointers rather than a RAII-compatible interface like std::ostream. It's hardly the worst thing in the world since you can trivially write a RAII wrapper around FILE pointers or use a smart pointer with a custom deleter, but it's still a strange decision if you ask me.