How is the comparison between two objects done with default comparison? Disclaimer: I am a big time C++ noob