STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ... ATLSTL - Template Software for the Active Template Library COMSTL - The Standard Template Library meets the Component Object Model .netSTL - Standard Template Library meets the Microsoft.NET Common Language Runtime InetSTL - The Standard Template Library meets WinInet MFCSTL - Template Software for the Microsoft Foundation Classes UNIXSTL - Template Software for the UNIX Operating System WinSTL - where the Standard Template Library meets the Win32 API

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:

STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004