C++ equivellant to if <> Self

BlitzMax Forums/BlitzMax Programming/C++ equivellant to if <> Self

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi I hope I'm not being cheeky here but I'm hoping there is a c++ programmer here that could help me, I'm after the Blitzmax equivillant to:
if object:Object <> Self Then


So that the object isn't comparing itself in the code, the object:Object is from a for look looking through a list. This is what I have come up with so far but they dont work:
if(*iter ? !this : false){
if((*iter) != this){


The iterator is similar to the object:Object, it's something to flick through a list.

Thanks.