#include <comstl/functional/interface_functionals.hpp>
This function class releases COM interfaces by calling Release() on them. Note that the function class benignly ignores null interface pointers.
I | The COM interface on which to parameterise the template |
Public Types | |
typedef I | interface_type |
Public Member Functions | |
void | operator() (interface_type *pi) |
Function call operator. |
void operator() | ( | interface_type * | pi | ) | [inline] |
Function call operator.
pi | The interface pointer to release |
References comstl::safe_release().