MakeAllocator::Detach Method
Supports the WRL infrastructure and is not intended to be used directly from your code.
__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