Best way to compare actors in C++?

Just me being foolish and trying to access pointer values like variable values, whilst forgetting that their value is a memory address…