wxWidgets: Smart Pointers

| Version: 3.0.2

- Main Page
- Related Pages
- Categories
- Classes
- Files

Classes
Smart Pointers
Class List by Category

## Detailed Description

wxWidgets provides a few smart pointer class templates.

## Classes
class | wxObjectDataPtr< T >
| This is an helper template class primarily written to avoid memory leaks because of missing calls to wxRefCounter::DecRef() and wxObjectRefData::DecRef(). More...
class | wxScopedArray< T >
| A scoped array template class. More...
class | wxScopedPtr< T >
| A scoped pointer template class. More...
class | wxSharedPtr< T >
| A smart pointer with non-intrusive reference counting. More...
class | wxWeakRefDynamic< T >
| wxWeakRefDynamic<T> is a template class for weak references that is used in the same way as wxWeakRef<T>. More...
class | wxWeakRef< T >
| wxWeakRef<T> is a template class for weak references to wxWidgets objects, such as wxEvtHandler, wxWindow and wxObject. More...
class | wxWindowPtr< T >
| A reference-counted smart pointer for holding wxWindow instances. More...
class | wxScopedPtr
| This is a simple scoped smart pointer implementation that is similar to the Boost smart pointers (see http://www.boost.org) but rewritten to use macros instead. More...
class | wxScopedTiedPtr
| This is a variation on the topic of wxScopedPtr. More...
class | wxTrackable
| Add-on base class for a trackable object. More...