CAutoPtr::operator T*

 

The cast operator.

Syntax

operator T* ( ) const throw( );

Return Value

Returns a pointer to the object data type defined in the class template.

Example

See the example in the CAutoPtr Overview.

Requirements

Header: atlbase.h

See Also

CAutoPtr Class