Supports the WRL infrastructure and is not intended to be used directly from your code.
bool hasWeakReferenceSupport =
T)> , T)> class MakeAllocator;
class MakeAllocator<T, false>;
class MakeAllocator<T, true>;
A type name.
to allocate memory for an object that supports weak references; false to allocate memory for an object that doesn't support weak references.
Allocates memory for an activatable class, with or without weak reference support.
Override the MakeAllocator class to implement a user-defined memory allocation model.
MakeAllocator is typically used to prevent memory leaks if an object throws during construction.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback