Moving the kernel to modern C
Moving the kernel to modern C
Posted Feb 28, 2022 9:33 UTC (Mon) by wtarreau (subscriber, #51152)In reply to: Moving the kernel to modern C by deater
Parent article: Moving the kernel to modern C
> This can also be a problem when reviewing a patch, and it can be unclear from the small amount of context whether an operation is overloaded or not.
That's exactly why I despise operator overloading. You cannot trust anymore what you're reading.
I would just be fine with defining *new* operators using other unused symbols, though. At least
when you read them you figure you're on something special that requires certain care.
