refcounted_traversable Class

class refcounted_traversable

The refcounted_traversable template is identical to traversable, except it actually implements the AddRef and Release members. The sister traversable template makes these members no-ops. This template implements AddRef and Release such that all calls are delegated to the underlying collection.

Defined in: Traversable.h

Class Template Arguments

_coll

The collection type to derive from and mix in IConstTraversable.

predicate_type

The predicate to use with STL sets and maps.