Rapier C — 2D / f64 0.36.0+c.0
Loading...
Searching...
No Matches
rapier::Deleter< T, Free > Struct Template Reference

Deleter for an owned pointer; Free must succeed at destruction time. More...

#include <rapier.hpp>

Public Member Functions

void operator() (T *value) const noexcept
 Release the pointer through its matching C API function.

Detailed Description

template<class T, R2Status(*)(T *) Free>
struct rapier::Deleter< T, Free >

Deleter for an owned pointer; Free must succeed at destruction time.

Member Function Documentation

◆ operator()()

template<class T, R2Status(*)(T *) Free>
void rapier::Deleter< T, Free >::operator() ( T * value) const
inlinenoexcept

Release the pointer through its matching C API function.


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