BRICKS
Small, useful blocks of code, to build bigger things.
Loading...
Searching...
No Matches
bricks::deleter< T, fn > Struct Template Reference

A deleter is a function that deletes a pointer. More...

#include <handle.hpp>

Public Member Functions

void operator() (T *p)
 

Detailed Description

template<typename T, auto fn>
struct bricks::deleter< T, fn >

A deleter is a function that deletes a pointer.

Template Parameters
TThe type of the pointer.
fnThe deleter function.

Member Function Documentation

◆ operator()()

template<typename T , auto fn>
void bricks::deleter< T, fn >::operator() ( T * p)
inline

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