#include <memory>struct Point {int x, y;};intmain() {
Point pt = {1,2};
Point points[] = {{1010,2020}, {3030,4040}, {5050,6060}};
Point *pt_ptr = &points[1];
Point &pt_ref = pt;std::shared_ptr<Point>pt_sp(new Point{111,222});return0;// Set a breakpoint here}