DontUseNewUseMake Class
Supports the WRL infrastructure and is not intended to be used directly from your code.
class DontUseNewUseMake;
Prevents using operator new
in RuntimeClass
. Consequently, you must use the Make function instead.
Name | Description |
---|---|
DontUseNewUseMake::operator new | Overloads operator new and prevents it from being used in RuntimeClass . |
DontUseNewUseMake
Header: implements.h
Namespace: Microsoft::WRL::Details
Supports the WRL infrastructure and is not intended to be used directly from your code.
void* operator new(
size_t,
_In_ void* placement
);
__unnamed0
An unnamed parameter that specifies the number of bytes of memory to allocate.
placement
The type to be allocated.
Provides a way to pass additional arguments if you overload operator new
.
Overloads operator new
and prevents it from being used in RuntimeClass
.