xentara-utils v1.2.1
Xentara utilities library
Loading...
Searching...
No Matches
xentara::utils::windows::LocalFreeDeleter Struct Reference

A deleter that uses LocalFree(). More...

#include <windows/LocalFree.hpp>

Public Member Functions

auto operator() (void *pointer) const noexcept -> void
 Deletes an object using LocalFree().
 

Detailed Description

A deleter that uses LocalFree().

Note
This class is only available under Windows

Member Function Documentation

◆ operator()()

auto xentara::utils::windows::LocalFreeDeleter::operator() ( void *  pointer) const -> void
noexcept

Deletes an object using LocalFree().

Parameters
pointerThe object to delete. If you pass nullptr to thos operator, it will do nothing.