Audacity 3.2.0
Public Member Functions | List of all members
Deleter< T, Fn > Struct Template Reference

Public Member Functions

void operator() (void *p) const
 

Detailed Description

template<typename T, void(*)(T *) Fn>
struct Deleter< T, Fn >

Definition at line 101 of file ImportGStreamer.cpp.

Member Function Documentation

◆ operator()()

template<typename T , void(*)(T *) Fn>
void Deleter< T, Fn >::operator() ( void *  p) const
inline

Definition at line 102 of file ImportGStreamer.cpp.

103 {
104 if (p)
105 Fn(static_cast<T*>(p));
106 }

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