Deleter for memory allocated by Windows LocalAlloc APIs.
More...
#include <src/platform/windows/nvprefs/nvprefs_common.h>
|
| template<class T> |
| void | operator() (T *p) const |
| | Free memory allocated by Windows local-memory APIs.
|
Deleter for memory allocated by Windows LocalAlloc APIs.
◆ operator()()
template<class T>
| void nvprefs::safe_hlocal_deleter::operator() |
( |
T * | p | ) |
const |
|
inline |
Free memory allocated by Windows local-memory APIs.
- Template Parameters
-
| T | Native allocation type returned by the Windows API. |
- Parameters
-
| p | LocalAlloc-compatible pointer to release. |
The documentation for this struct was generated from the following file: