[#BloombergLP-bslalg-FunctorAdapter-09] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::FunctorAdapter :relfileprefix: ../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class CALLABLE_OBJECT> class FunctorAdapter; ---- == Type Aliases [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslalg/FunctorAdapter-09/Type.adoc[`Type`] | This `typedef` is an alias for the functor. |=== == Specializations [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslalg/FunctorAdapter-03.adoc[`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 [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslstl/HashTable_BaseHasher.adoc[`HashTable_BaseHasher`] | This `struct` adapts the (template parameter) `HASHER` type for use as the base hasher of a `HashTable`. | xref:BloombergLP/bslstl/HashTable_Comparator.adoc[`HashTable_Comparator`] | Comparator adapter used by `HashTable`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#