Share via


CAtlFileMapping::operator T*

Allows implicit conversion of CAtlFileMapping objects to T*****.

operator T*() const throw( );

Return Value

Returns a T***** pointer to the start of the memory-mapped file.

Remarks

Calls CAtlFileMappingBase::GetData and reinterprets the returned pointer as a T***** where T is the type used as the template parameter of this class.

Requirements

Header: atlfile.h

See Also

Reference

CAtlFileMappingBase Class

CAtlFileMappingBase::GetData

Other Resources

CAtlFileMappingBase Members