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::type_id
arrow_upward

boost::openmethod::type_id

Type used to identify a class.

Synopsis

Declared in <boost/openmethod/preamble.hpp>

using type_id = void const*;

Description

type_id is the return type of the static_type and dynamic_type functions. It can be used as an actual data pointer (e.g. to a std::type_info object), or as an opaque integer type.

Created with MrDocs