X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/526954c5968baa29218c994ec48e476ae2bd4b9f..f40f8e17226c2080dec017e2043fe59e2d21e15b:/interface/wx/sharedptr.h?ds=sidebyside diff --git a/interface/wx/sharedptr.h b/interface/wx/sharedptr.h index 2b18e2a471..92e94a8759 100644 --- a/interface/wx/sharedptr.h +++ b/interface/wx/sharedptr.h @@ -9,7 +9,7 @@ /** A smart pointer with non-intrusive reference counting. - It is modeled after @c boost::shared_ptr<> and can be used with STL + It is modelled after @c boost::shared_ptr<> and can be used with STL containers and wxVector unlike @c std::auto_ptr<> and wxScopedPtr. @library{wxbase} @@ -61,7 +61,9 @@ public: T operator*() const; /** - Returns pointer to its object or @NULL. + Smart pointer member access. Returns pointer to its object. + + If the internal pointer is @NULL this method will cause an assert in debug mode. */ T* operator->() const;