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;

Type Aliases

Name

Description

state

The policy's state: the hash factors (no_checks), plus the control table if the registry has runtime checks enabled (with_checks). Held in the registry's shared state (see registry_state).

Static Member Functions

Name

Description

initialize

Finds the hash factors

hash_range

Returns the hash range

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