Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Reference
Constructors
The constructor for objects of type auto_ptr. |
Typedefs
The type is a synonym for the template parameter Type. |
Member Functions
The member function returns the stored pointer myptr. |
|
The member replaces the stored pointer myptr with a null pointer and returns the previously stored pointer. |
|
The member function evaluates the expression delete myptr, but only if the stored pointer value myptr changes as a result of function call. It then replaces the stored pointer with ptr. |
Operators
An assignment operator that transfers ownership from one auto_ptr object to another. |
|
The dereferencing operator for objects of type auto_ptr. |
|
The operator for allowing member access. |
|
Casts from one kind of auto_ptr to another kind of auto_ptr. |
|
Casts from an auto_ptr to an auto_ptr_ref. |