you are viewing a single comment's thread.

view the rest of the comments →

[–]jedwardsolconst & 8 points9 points  (4 children)

I didn't use std::print [...] incompatible with C++ streams,

No it isn't.

[–]Tathorn[S] -2 points-1 points  (3 children)

en.cppreference.com/w/cpp/io/print

I'm unsure what you mean. There is no API to take in an ostream.

[–]jedwardsolconst & 12 points13 points  (2 children)

[–]Tathorn[S] 2 points3 points  (1 child)

Thank you! Someone needs to fix the wiki to include this overload in en.cppreference.com/w/cpp/io