xentara-utils v2.0.4
The Xentara Utility Library
Loading...
Searching...
No Matches
xentara::utils::windows::LocalFreeDeleter Struct Reference

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

#include <xentara/utils/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.