Boost.OpenMethod

    • Motivation
    • Basic Features
      • Methods and Overriders
      • Performance
      • Smart Pointers
      • Header and Implementation Files
      • Namespaces
      • Friends
      • 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::type_hash
arrow_upward

boost::openmethod::policies::type_hash

Policy for hashing type ids.

Synopsis

Declared in <boost/openmethod/preamble.hpp>

struct type_hash;

Types

Name

category

Derived Classes

Name Description

fast_perfect_hash

Hash type ids using a fast, perfect hash function.

Requirements

Classes implementing this policy must:

  • derive from `rtti`.

  • provide a `fn<Registry>` metafunction that conforms to the TypeHashFn blueprint.

Created with MrDocs