One of them has a wife and a kid. It will look and feel like cheating for some time, but later on in the story something about their marriage is revealed that will make you change the way you see things. If you want detailed spoilers about this, let me know.
The protagonists (I can't remember if one or both of them) do sleep with other people, but only during their stage as sex buddies, "dog and master". After they catch feelings for each other, everything changes. There is a happy ending, also a ton of angst before you reach it.

Really wanna read - mania - but can someone tell me if it has cheating or sleeping with other people in it?? Also a happy ending??