智能指针初始化
typedef struct tag_DrawRect{
ISRECT rect;
int rectColor;
string strText;
int textColor;
}ISDRAWRECT;
typedef struct tag_ISRect{
ISPOINT point;
ISSIZE size;
}ISRECT;
typedef struct tag_ISPoint{
int x;
int y;
}ISPOINT;
typedef struct tag_ISSize{
int w;
int h;
}ISSIZE;
现在有shared_ptr<vector<ISDRAWRECT>> vecDrawRectsPtr;
想对vecDrawRectsPtr初始化; 能给个具体的例子吗?