Ask Your Question

Revision history [back]

click to hide/show revision 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.

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

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.