boost::openmethod::policies::minimal_perfect_hash::fn

A TypeHashFn metafunction.

Synopsis

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

template<class Registry>
class fn;

Type Aliases

Name

state

Static Member Functions

Name

Description

initialize

Finds a seed and the pilots.

hash_range

Returns the hash range: [0, slots ‐ 1].

hash

Map a type id to an index

finalize

Releases the pilot table, and the control table if there is one.

Template Parameters

Name

Description

Registry

The registry containing this policy

Created with MrDocs