leginee commented on pull request #93: URL: https://github.com/apache/openoffice/pull/93#issuecomment-748442390
We need to find a method to do the modernization of the code. If we define this in stlport then we would have one place to mess around with. Also the idea is we could keep the support for older compilers while we modernize the code base as long as possible. According to [the c++ Reference for auto_ptr](https://www.cplusplus.com/reference/memory/auto_ptr/) the unique_ptr is the replacement: >Note: This class template is deprecated as of C++11. unique_ptr is a new facility with a similar functionality, but with improved security (no fake copy assignments), added features (deleters) and support for arrays. See unique_ptr for additional information. If we use fake copy assignments we would need to replace them, while arrays we would not use the unique_ptr anyhow. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org