1 | initial version |
that's probably the last thing on earth you should do.
cv::Mat is already a refcounted smartpointer, use refs or copies, NOT pointers.
2 | No.2 Revision |
that's probably the last thing on earth you should do.
cv::Mat is already a refcounted smartpointer, use smartpointer,pass refs or returrn copies, but NOTNEVER pointers.pointers, else you'll wreck the refcounting
3 | No.3 Revision |
that's probably the last thing on earth you should do.
cv::Mat is already a refcounted smartpointer,pass refs or returrn copies, but NEVER pointers, else you'll wreck the refcounting
see, c++ has evolved a lot over the last 20 years, if pointers are your "favourite weapon", you might be just wrong there.