<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 18, 2013 at 9:17 AM, SF Markus Elfring <span dir="ltr"><<a href="mailto:elfring@users.sourceforge.net" target="_blank">elfring@users.sourceforge.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
Would you like to wrap any pointer data members with the template class<br>
"std::unique_ptr"?<br>
<a href="http://en.wikipedia.org/wiki/Smart_pointer#unique_ptr" target="_blank">http://en.wikipedia.org/wiki/Smart_pointer#unique_ptr</a><br>
<br>
Update candidate:<br>
<a href="https://bitbucket.org/multicoreware/x265/src/13531b8f19cc/source/common/wavefront.cpp#cl-34" target="_blank">https://bitbucket.org/multicoreware/x265/src/13531b8f19cc/source/common/wavefront.cpp#cl-34</a></blockquote>
<div><br></div><div><br></div><div>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.</div><div> </div></div>-- <br>Steve Borho
</div></div>