Polymer from nonethylenic monomers only, having pendant unsaturated group