Templatize wxScopedPtr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -4,6 +4,9 @@ This is a simple scoped smart pointer implementation that is similar to
|
||||
the \urlref{Boost}{http://www.boost.org/} smart pointers but rewritten to
|
||||
use macros instead.
|
||||
|
||||
Since wxWidgets 2.9.0 there is also a templated version of this class
|
||||
with the same name. See \helpref{wxScopedPtr<T>}{wxscopedptrtemplate}.
|
||||
|
||||
A smart pointer holds a pointer to an object. The memory used by the object is
|
||||
deleted when the smart pointer goes out of scope. This class is different from
|
||||
the \texttt{std::auto\_ptr<>} in so far as it doesn't provide copy constructor
|
||||
|
Reference in New Issue
Block a user