Provides pointer management for lists. More...
Public Member Functions
|Clear the contents of the list and delete them. |
Provides pointer management for lists.
Wraps the owned pointers to guarantee their automatic deletion when the list goes out of scope.
This list should only be used with pointer types, and will automatically delete the contained pointers when the list goes out of scope.
Protect against using NULL contained pointers with asserts to catch programmer errors, but depend on callers using the new operator to throw exceptions on failure at runtime.
Here are some guidelines for using the AutoList.
Clear the contents of the list and delete them.