mirror of
https://github.com/opencv/opencv.git
synced 2025-06-12 12:22:51 +08:00
Merge pull request #21882 from duanqn:improve-doc
This commit is contained in:
commit
2b53ab23c0
@ -1030,7 +1030,7 @@ public:
|
|||||||
@param copyData Flag to specify whether the underlying data of the STL vector should be copied
|
@param copyData Flag to specify whether the underlying data of the STL vector should be copied
|
||||||
to (true) or shared with (false) the newly constructed matrix. When the data is copied, the
|
to (true) or shared with (false) the newly constructed matrix. When the data is copied, the
|
||||||
allocated buffer is managed using Mat reference counting mechanism. While the data is shared,
|
allocated buffer is managed using Mat reference counting mechanism. While the data is shared,
|
||||||
the reference counter is NULL, and you should not deallocate the data until the matrix is not
|
the reference counter is NULL, and you should not deallocate the data until the matrix is
|
||||||
destructed.
|
destructed.
|
||||||
*/
|
*/
|
||||||
template<typename _Tp> explicit Mat(const std::vector<_Tp>& vec, bool copyData=false);
|
template<typename _Tp> explicit Mat(const std::vector<_Tp>& vec, bool copyData=false);
|
||||||
|
Loading…
Reference in New Issue
Block a user