Updated wxWeakRef<T> to patch Weak references for wx - part 2, removed T*() and added T* get(), other minor docs corr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -41,11 +41,12 @@ Destructor.
|
||||
|
||||
Returns pointer to its object or NULL.
|
||||
|
||||
\membersection{wxSharedPtr<T>::operator*}\label{wxsharedptroperatorptrt}
|
||||
\membersection{wxSharedPtr<T>::operator*}\label{wxsharedptroperatorreft}
|
||||
|
||||
\constfunc{T\&}{operator*}{\void}
|
||||
|
||||
Returns pointer to its object or NULL.
|
||||
Returns a reference to the object. If the internal pointer is NULL this
|
||||
method will cause an assert in debug mode.
|
||||
|
||||
\membersection{wxSharedPtr<T>::operator->}\label{wxsharedptroperatorderef}
|
||||
|
||||
@@ -71,3 +72,10 @@ Returns true if this is the only pointer pointing to its object.
|
||||
|
||||
Returns the number of pointers pointing to its object.
|
||||
|
||||
\membersection{wxSharedPtr<T>::reset}\label{wxsharedptrreset}
|
||||
|
||||
\func{void}{reset}{\param{T * }{ptr = NULL}}
|
||||
|
||||
Reset pointer to {\it ptr}. Afterwards the caller is responsible
|
||||
for deleting the data contained in the pointer before.
|
||||
|
||||
|
Reference in New Issue
Block a user