This is a HUGE problem in the US armed services ever since women were placed into the same units as men - and then ever since being a homosexual soldier was no longer verboten.
It makes no sense. (Same with coed dorm rooms on campus). Why on earth would we create such huge sexual temptation for people by placing them in such close quarters 24 hours a day?
Clarification: I mean coed dorms where male rooms are next to female rooms.