Corrected docs of ::release and ::reset in smart pointers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -72,13 +72,15 @@ cause an assert in debug mode.
|
||||
\func{T*}{release}{\void}
|
||||
|
||||
Releases the current pointer and returns it.
|
||||
Afterwards the caller is responsible for deleting
|
||||
the data contained in the scoped pointer before.
|
||||
|
||||
\membersection{wxScopedPtr<T>::reset}\label{wxscopedptrtemplatereset}
|
||||
|
||||
\func{void}{reset}{\param{T * }{ptr = NULL}}
|
||||
|
||||
Reset pointer. Afterwards the caller is responsible for deleting
|
||||
the data contained in the scoped pointer before.
|
||||
Reset pointer to the value of {\it ptr}. The
|
||||
previous pointer will be deleted.
|
||||
|
||||
\membersection{wxScopedPtr<T>::swap}\label{wxscopedptrtemplateswap}
|
||||
|
||||
|
Reference in New Issue
Block a user