template< unsigned int nMaxSize >
class CComUnkArray
Parameters
nMaxSize
The maximum number of IUnknown pointers that can be held in the static array.
CComUnkArray holds a fixed number of IUnknown pointers, each an interface on a connection point. CComUnkArray can be used as a parameter to the IConnectionPointImpl template class. CComUnkArray<1> is a template specialization of CComUnkArray that has been optimized for one connection point.
The CComUnkArray methods begin and end can be used to loop through all connection points (for example, when an event is fired).
See Adding Connection Points to an Object for details on automating creation of connection point proxies.
#include <atlcom.h>
See Also CComDynamicUnkArray