As a result of their eager study in view of the various problems described above, the present inventors have found that an addition product obtainable by addition reaction in the presence of water, with an epoxy compound, of a compound having in the molecule both a tertiary amino group and a functional group such as OH group, SH group, NH group, NH2 group, COOH group, CONHNH2 group or the like cap