First page Back Continue Last page Overview Graphics
Boost.SmartPtr
Boost provide a set of Smart pointer classes
- shared_ptr: shared pointer
- scoped_ptr: a non copyable pointer to free on exit
- weak_ptr: a pointer that can be freed anytime
- A precondtion check make it safe.
- intrusive_ptr: for when the “resource” have it own management and ref counting.
Is in TR1 for inclusion in the standard library