On the hydrogen bond in an ice-like structure