Generalized “sandwich” theorems