MacStd
OS X API using Standard C++
Loading...
Searching...
No Matches
macstd::CFRelease_delete Struct Reference

Deleter for unique_ptr using CFRelease. More...

#include <MacStd/CoreFoundation.hpp>

Public Member Functions

 CFRelease_delete () noexcept
 Default constructor.
 
template<class _T >
void operator() (_T *_Ptr) const
 Delete a pointer.
 

Detailed Description

Deleter for unique_ptr using CFRelease.

Member Function Documentation

◆ operator()()

template<class _T >
void macstd::CFRelease_delete::operator() ( _T * _Ptr) const
inline

Delete a pointer.

See also
CFRelease function

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