[x265] Improve exception safety with smart pointers

SF Markus Elfring elfring at users.sourceforge.net
Wed Sep 18 16:17:44 CEST 2013


Hello,

Would you like to wrap any pointer data members with the template class
"std::unique_ptr"?
http://en.wikipedia.org/wiki/Smart_pointer#unique_ptr

Update candidate:
https://bitbucket.org/multicoreware/x265/src/13531b8f19cc/source/common/wavefront.cpp#cl-34

Regards,
Markus


More information about the x265-devel mailing list