One of the features of medieval Islamic societies, at least among the urban elite, was a strict segregation of the sexes. This might imply a clear distinction in gender roles however the approach to sexuality in these cultures--in particular regarding male homoeroticism--resulted in some approaches to gender roles that contrast sharply to those of Christian cultures. These approaches included significant allowance for specific classes of persons to transgress the accepted forms of gender expression within certain limits.