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