News for hackers. Stuff that matters.
Re:C++23: The Next C++ Standard by MadcapJake on Tuesday July 11, 2023 @04:31PM (#36686839)
If editors were to implement it, you could navigate to the corresponding overload implementation or even provide some hint text. Just like they do for other functions.
Re:C++23: The Next C++ Standard by pjmlp on Wednesday July 12, 2023 @03:57AM (#36691609)
In Visual Studio it is already there.
Re:C++23: The Next C++ Standard by throwaway894345 on Wednesday July 12, 2023 @02:22PM (#36699348)
Yeah, we would need editors and code review tools to not only follow overloads to their functions but also highlight that the operator is overloaded in the first place. Of course, this is quite a lot more work than just not overloading things in the first place (particularly since the benefit of operator overloading is negligible).