Boost.OpenMethod

    • Introduction
    • Open-Methods 101
    • Performance
    • Smart Pointers
    • Headers
    • Namespaces
    • Friendship
    • Multiple Dispatch
    • Advanced Features
      • Core API
      • Registries and Policies
      • Custom RTTI
      • Error Handling
      • Virtual Pointer Alternatives
      • Shared Libraries
    • Reference
      • Headers
      • Macros
      • Namespace boost::openmethod
  • boost::openmethod::policies::fast_perfect_hash::fn
arrow_upward

boost::openmethod::policies::fast_perfect_hash::fn

A TypeHashFn metafunction.

Synopsis

Declared in <boost/openmethod/policies/fast_perfect_hash.hpp>

template<class Registry>
class fn;

Static Member Functions

Name

Description

initialize

Find the hash factors

hash

Hash a type id

finalize

Releases the memory allocated by initialize.

Template Parameters

Name Description

Registry

The registry containing this policy

Created with MrDocs