docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
\section{\class{wxSharedPtr<T>}}\label{wxsharedptr}
|
||||
|
||||
A smart pointer with non-intrusive reference counting.
|
||||
A smart pointer with non-intrusive reference counting. It is modeled
|
||||
after {\bf boost::shared\_ptr<>} and can be used with STL containers
|
||||
and \helpref{wxVector<>}{wxvector} - unlike {\bf std::auto\_ptr<>}
|
||||
and \helpref{wxScopedPtr<>}{wxscopedptrtemplate}.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
@@ -18,6 +21,11 @@ typedef T element_type
|
||||
\end{verbatim}
|
||||
}%
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{wxScopedPtr}{wxscopedptrtemplate}, \helpref{wxWeakRef}{wxweakref}
|
||||
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
@@ -58,7 +66,15 @@ Returns pointer to its object or NULL.
|
||||
|
||||
\func{wxSharedPtr<T>\& operator}{operator=}{\param{const wxSharedPtr<T>\& }{tocopy}}
|
||||
|
||||
Assignment operator.
|
||||
Assignment operator. Releases any previously held pointer
|
||||
and creates a reference to same object as {\it topcopy}.
|
||||
|
||||
\membersection{wxSharedPtr<T>::operator=}\label{wxsharedptroperatorassign2}
|
||||
|
||||
\func{wxSharedPtr<T>\& operator}{operator=}{\param{T *}{ptr}}
|
||||
|
||||
Assignment operator. Releases any previously held pointer
|
||||
and creates a reference to {\it ptr}.
|
||||
|
||||
\membersection{wxSharedPtr<T>::unique}\label{wxsharedptrunique}
|
||||
|
||||
|
Reference in New Issue
Block a user