Santhu / mozc

Automatically exported from code.google.com/p/mozc
0 stars 0 forks source link

Deprecate base/scoped_ptr.h #219

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
base/scoped_ptr.h, which has been there since the initial release of OSS Mozc 
(*1),
is under deprecation process and will be removed from code tree in a future 
release.  If you derivative project is still including "base/scoped_ptr.h", 
please stop doing this and switch to std::unique_ptr<T>.

*1: 
https://code.google.com/p/mozc/source/browse/trunk/src/base/scoped_ptr.h?r=10

Background:
We have been gradually enabling C++11 in Mozc since Dec 2012.  As a part of 
this effort, we are now replacing mozc::scoped_ptr<T> with std::unique_ptr<T>.  
As of r192, this transition is completed at least in win32/* and unix/*.

The important thing is that base/scoped_ptr.h will be removed once the 
transition is completed.  Please stop including "base/scoped_ptr.h" in your 
project and switch to std::unique_ptr<T> to avoid unnecessary build breakage.

Thank you for your cooperation.

Original issue reported on code.google.com by yukawa@google.com on 24 May 2014 at 6:47

GoogleCodeExporter commented 9 years ago

Original comment by yukawa@google.com on 26 May 2014 at 2:26

GoogleCodeExporter commented 9 years ago

Original comment by yukawa@google.com on 3 Aug 2014 at 8:24

GoogleCodeExporter commented 9 years ago

Original comment by yukawa@google.com on 13 Dec 2014 at 6:07

GoogleCodeExporter commented 9 years ago

Original comment by yukawa@google.com on 13 Dec 2014 at 6:08

GoogleCodeExporter commented 9 years ago

Original comment by yukawa@google.com on 13 Dec 2014 at 6:08