mercredi 24 août 2016

Add move constructor to exsiting class

I am using a library which I can not modify at all (OpenCV 2.4.10) that has a class with resources (cv::Mat). This class does not provide a move constructor.

Is it possible to add, in some tricky way and without modifying the class, a move constructor to that class?

Aucun commentaire:

Enregistrer un commentaire