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::std_rtti::fn::static_type
arrow_upward

boost::openmethod::policies::std_rtti::fn::static_type

Returns the static type_id of a type.

Synopsis

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

template<class Class>
static
type_id
static_type();

Description

Returns &typeid(Class), cast to type_id.

Return Value

The static type_id of Class.

Template Parameters

Name Description

Class

A class.

Created with MrDocs