n alkenyl group, a phenyl group or an allyl group; A is a hydrogen atom and B is a hydroxyl group, or A is a hydroxyl group and B is a hydrogen atom; m and n are integers of 0 or more which meet the requirement of m+n>1; and the undefined valences constitute the remainder of the epoxy resin whose ring opening resulted in the A and B groups.