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