I was pretty confused about the difference between struct and class as I seemed to see them used for pretty much the same things. I googled the differences and the only answer I
I am currently working on a project, and I just realized that my struct needs to be able to provide a comparison operators in order for the sorted list that contains it to be able to do the sorting. So it makes sense to have operator overloading in a struct. That's the only legitimate reason to have a struct with methods.