The C++23 std::print and std::println are the counterparts to std::format that format to a stdio FILE descriptor instead of producing a std::string.
Both std::print and std::println by default output to the standard output (stdout).
Click to open in Compiler Explorer.
Leave a comment