Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages
interface_addref Struct Template Reference
Adds references to 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_addref< I >
Adds references to COM interfaces.
This function object adds a reference to COM interfaces by calling AddRef() 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 on which to add a reference |
|
The documentation for this struct was generated from the following file: