News for hackers. Stuff that matters.
Re:C++23: The Next C++ Standard by amalcon on Tuesday July 11, 2023 @04:36PM (#36686891)
I actually like operator overloading, but overloading the shift operators for I/O was still a mistake IMO. It's a mistake even if you ignore that it's a theoretical misuse (I/O and binary shifting have nothing to do with each other semantically). The operator precedence of the binary shift operators is just wrong for I/O.

There are no comments on this comment yet.