Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages
interface_release Struct Template Reference
Releases COM interfaces.
More...
#include <comstl_functionals.h>
List of all members.
|
Public Methods |
| void | operator() (interface_type *pi) |
| | Function call operator.
|
Detailed Description
template<typename I>
struct comstl::interface_release< I >
Releases COM interfaces.
This function object releases COM interfaces by calling Release() on them. Note that the function object benignly ignores null interface pointers.
- Parameters:
-
| I |
The COM interface on which to parameterise the template |
Member Function Documentation
| void operator() |
( |
interface_type * |
pi |
) |
[inline] |
|
|
|
Function call operator.
- Parameters:
-
| pi |
The interface pointer to release |
|
The documentation for this struct was generated from the following file: