Why use std::print when C++ already has std::cout?
C++23 adds std::print, but std::cout already lets me print values with type checking. Is the main benefit just syntax?For a small Hello World program, g++ -O2 -S produced…
C++23 adds std::print, but std::cout already lets me print values with type checking. Is the main benefit just syntax?For a small Hello World program, g++ -O2 -S produced…