Posted incompare
Do Comparative Operands Always Need to Be Overloaded With Objects?
Comparative operands don't always need to be overloaded with objects, but overloading is essential when you want to define custom comparison logic for user-defined types (classes or structs). COMPARE.EDU.VN explains…