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:
@@ -44,6 +44,15 @@ Destructor.
|
||||
|
||||
Returns pointer to object or NULL.
|
||||
|
||||
\membersection{wxScopedPtr<T>::operator unspecified\_bool\_type}\label{wxscopedptrtemplateoperatorbool}
|
||||
|
||||
\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{wxScopedPtr<T>::operator*}\label{wxscopedptrtemplateoperatorreft}
|
||||
|
||||
\constfunc{T \&}{operator*}{\void}
|
||||
|
Reference in New Issue
Block a user