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_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:

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