Me and my lady have this everyday routine to drink coffee on the place where you can see many people passing by in both directions. Sometimes, we're just kidding around making jokes about people who pass in front of us. From time to time, some very hot ladies pass in front of our eyes and it can take me (as a man) in very difficult situation with my wife. Luckily, I have very reasonable lady with me and there is no any taboo for us, so I don't feel ashamed when I talk about problems and situations that many people avoid to talk about.

All of us have different opinion about those things but I am pretty sure that when YOU see a hot lady passing by, YOU will turn your head to check her bottom!
There are many perspectives from which you can look at this situation, like scientific perspective, "we are nothing but animals" perspective, moral perspective, religion perspective...
Most of the married guys that I know would stare to other women and some claim that it's their natural instinct. But, differently than animals, we can control those instincts.
But it is not moral to look at other women's curves while you're sitting with your wife/girlfriend and drink coffee. It can be very offensively for her. Her man is checking the bottom of other woman in her presence. Admit, it is not comfortable feeling!
But from other perspective, women do that all the time!
In fact, they do that as twice as much more than men! That's because they check both sexes, they look at other men and other women! Yes, and they do that with much more skills than us! You will never catch your wife doing that! And she will catch you each time!
The most of world's religions are very strict about this problem and, from religion perspective, it is not allowed to look at other women's attributes. Some religions claim that we are not allowed even talk with other women.
Many people say that looking at other person's attributes leads to an adultery. THAT'S SO NOT TRUE!
If you are unfaithful and if you have inclinations for cheating, you'll do it anyway! But what is with us, normal guys, who would never cheat our wives, but sometimes, we just can't resist to just take a little look at other hot ladies! Those ladies are probably less hot than our wives, but something tells us to turn our head to check that bottom. And our wives have pretty good reasons to hate that!
There are many people in this world who regret about their life choices, regret about their partners and their situations, but that's another problems and those men are in other category.
If I look at other woman, it doesn't mean that I would go out with her!
It doesn't mean anything! Of course that I wouldn't approach to that lady, I don't even think that we could have a conversation that can lead somewhere! No! I took that look just because I appreciate the way she looks. And that's it! Nothing else! My wife and me make jokes about it! Because of my ankylosing spondylitis I have difficulties to rotate my neck, so, when a hot lady passes by, I just tell to my wife:
"Please, will you just turn around and check that lady for me :)?"