Added the conversion to unspecfied_bool to all smart pointers, added T& operator* to wxObjectDataPtr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -50,7 +50,6 @@ difference between the two base classes is that wxTrackableBase
|
||||
has no virtual member functions (no VTable), and thus cannot be detected
|
||||
through \texttt{dynamic\_cast<>}.
|
||||
|
||||
|
||||
\wxheading{Predefined types}
|
||||
|
||||
The following types of weak references are predefined:
|
||||
@@ -70,6 +69,10 @@ wxTrackerNode
|
||||
|
||||
<weakref.h>
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{wxSharedPtr}{wxsharedptr}, \helpref{wxScopedPtr}{wxscopedptrtemplate}
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
{\small%
|
||||
@@ -102,6 +105,15 @@ Destructor.
|
||||
|
||||
Returns pointer to the tracked object or NULL.
|
||||
|
||||
\membersection{wxWeakRef<T>::operator unspecified\_bool\_type}\label{wxweakrefoperatorbool}
|
||||
|
||||
\constfunc{}{operator unspecified\_bool\_type}{\void}
|
||||
|
||||
Conversion to a boolean expression (in a variant which is not
|
||||
convertable to anything but a boolean expression). If this class
|
||||
contains a valid pointer it will return {\it true}, if it contains
|
||||
a NULL pointer it will return {\it false}.
|
||||
|
||||
|
||||
\membersection{wxWeakRef<T>::operator*}\label{wxweakrefoperatorreft}
|
||||
|
||||
|
Reference in New Issue
Block a user