[x265] Improve exception safety with smart pointers

Steve Borho steve at borho.org
Wed Sep 18 20:47:37 CEST 2013


On Wed, Sep 18, 2013 at 9:17 AM, SF Markus Elfring <
elfring at users.sourceforge.net> wrote:

> 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



A short term goal of x265 is to remove STL use, and long term goal is to
have more C-like code, if not C itself.

-- 
Steve Borho
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20130918/7b607aa8/attachment.html>


More information about the x265-devel mailing list