Template facade over the per-type deleters of namespace v1.
More...
#include <avutils.h>
|
| template<typename T> |
| bool | operator() (T *ptr) |
| | Free an FFmpeg object of type T.
|
Lets a single std::unique_ptr<T, SmartDeleter> be written without naming the concrete FFmpeg type.
◆ operator()()
template<typename T>
| bool av::v2::SmartDeleter::operator() |
( |
T * | ptr | ) |
|
|
inline |
- Template Parameters
-
- Parameters
-
- Returns
- whatever the matching v1 deleter reports
The documentation for this struct was generated from the following file: