ap1: (1,2) ap2: (3,4) ap2: (4,5) ap1-ap2 dist: 4.24264 Now assigning ap1 to ap2 Point deleted ap1 is nullptr ap2: (1,2) Point deleted p: (1.0287e+160,2)