给智能指针指向的对象赋值
摘要:使用.get()方法: std::tr1::shared_ptr<cv::Mat> pic_resize(new cv::Mat); *(pic_resize.get()) = (*dep_vs_pkt->image_)(cv::Rect(0, 0, dep_vs_pkt->image_->cols
阅读全文
posted @ 2020-03-09 19:49
posted @ 2020-03-09 19:49