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::TypeHashFn::hash
arrow_upward

boost::openmethod::policies::TypeHashFn::hash

Hash a type_id.

Synopsis

Declared in <boost/openmethod/preamble.hpp>

static
std::size_t
hash(type_id type);

Return Value

A hash value for the given type_id.

Parameters

Name Description

type

A type_id.

Created with MrDocs