This class provides a metafunction that defines an alias Type for the parameterized CALLABLE_OBJECT. Type is functor type that provides the same operation as the parameterized CALLABLE_OBJECT. Note that function pointers are supported through a specialization of this template.

Synopsis

Declared in <bslalg_functoradapter.h>

template<class CALLABLE_OBJECT>
class FunctorAdapter;

Type Aliases

Name

Description

Type

This typedef is an alias for the functor.

Specializations

Name

Description

FunctorAdapter<FUNCTION*>

This specialization of FunctorAdapter defines an alias Type for a functor that delegates to a function pointer matching the parameterized FUNCTION type.

Derived Classes

Name

Description

HashTable_BaseHasher

This struct adapts the (template parameter) HASHER type for use as the base hasher of a HashTable.

HashTable_Comparator

Comparator adapter used by HashTable.

Created with MrDocs