X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/526954c5968baa29218c994ec48e476ae2bd4b9f..d3fa4bc22e84e3ca4d88cc1772f2d414140a1017:/interface/wx/sharedptr.h 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;