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:
<weakref.h>
+\wxheading{See also}
+
+\helpref{wxSharedPtr}{wxsharedptr}, \helpref{wxScopedPtr}{wxscopedptrtemplate}
+
\wxheading{Data structures}
{\small%
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}