News for hackers. Stuff that matters.
Re:Learn Modern C++ by moffkalast on Tuesday December 26, 2023 @01:24PM (#38774374)
God forbid it actually figures out what the type is and prints it out properly like every other language in existence? If so I'm sold.
Re:Learn Modern C++ by bingo3131 on Tuesday December 26, 2023 @02:07PM (#38774862)
Yes. The main feature this is built upon is C++20's new string formatting features (very heavily inspired by the third party libfmt). C++23 just adds convinience functions to format and print at the same time.

Type detection, formatting options, positional-arguments, custom formatters for custom types and probably more are all supported.