X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0155f1644a4591b5d8ad7207f8eab513d25aa8ed..b3a029f0bbf8262cfe30914790802f88608ea618:/docs/latex/wx/scopedptr.tex diff --git a/docs/latex/wx/scopedptr.tex b/docs/latex/wx/scopedptr.tex index 1da69e6dfe..0e2e980518 100644 --- a/docs/latex/wx/scopedptr.tex +++ b/docs/latex/wx/scopedptr.tex @@ -19,9 +19,13 @@ typedef T element_type \end{verbatim} }% -\latexignore{\rtfignore{\wxheading{Members}}} +\wxheading{See also} + +\helpref{wxSharedPtr}{wxsharedptr}, \helpref{wxWeakRef}{wxweakref} +\latexignore{\rtfignore{\wxheading{Members}}} + \membersection{wxScopedPtr::wxScopedPtr}\label{wxscopedptrtemplatewxscopedptrtemplate} \func{wxEXPLICIT}{wxScopedPtr}{\param{T * }{ptr = NULL}} @@ -40,12 +44,12 @@ Destructor. Returns pointer to object or NULL. -\membersection{wxScopedPtr::operator*}\label{wxscopedptrtemplateoperatorptrt} +\membersection{wxScopedPtr::operator*}\label{wxscopedptrtemplateoperatorreft} \constfunc{T \&}{operator*}{\void} -Returns pointer to object. If the pointer is NULL this method will -cause an assert in debug mode. +Returns a reference to the object. If the internal pointer is NULL +this method will cause an assert in debug mode. \membersection{wxScopedPtr::operator->}\label{wxscopedptrtemplateoperatorderef} @@ -58,7 +62,7 @@ cause an assert in debug mode. \func{T*}{release}{\void} -Returns pointer to object or NULL. +Releases the current pointer and returns it. \membersection{wxScopedPtr::reset}\label{wxscopedptrtemplatereset}