StormByte 2.0.0
C++26 foundation of the StormByte suite
 
Loading...
Searching...
No Matches
StormByte::Heap::ObjectDeleter Struct Reference

Destroy T and return its block to Free. More...

#include <StormByte/safe_pointers.hxx>

Public Member Functions

template<class U >
void operator() (U *pointer) const noexcept
 Destroy pointer and free its block on Base's heap.
 

Detailed Description

Destroy T and return its block to Free.

Member Function Documentation

◆ operator()()

template<class U >
void StormByte::Heap::ObjectDeleter::operator() ( U *  pointer) const
inlinenoexcept

Destroy pointer and free its block on Base's heap.

Template Parameters
UPointee type.
Parameters
pointerObject constructed with placement new on Allocate.

The documentation for this struct was generated from the following file: