Re:C++23: The Next C++ Standard
by masfuerte on Tuesday July 11, 2023 @03:00PM
(#36685717)
I recently wrote a program to generate tilings. It used exact coordinates internally represented by algebraic numbers with integer coefficients. If I couldn't have overloaded the arithmetic operators then using the algebraic numbers would have been a massive pain in the arse. Overloading is legitimately useful.
[ Parent
| on HN ]
There are no comments on this comment yet.