Condividi tramite


MakeAllocator::Detach Method

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at MakeAllocator::Detach Method.

Supports the WRL infrastructure and is not intended to be used directly from your code.

Syntax

__forceinline void Detach();  

Remarks

Disassociates memory allocated by the Allocate method from the current MakeAllocator object.

If you call Detach(), you are responsible for deleting the memory provided by the Allocate method.

Requirements

Header: implements.h

Namespace: Microsoft::WRL::Details

See Also

MakeAllocator Class
Microsoft::WRL::Details Namespace