boost::openmethod::policies::std_rtti::fn::dynamic_type

Returns the dynamic type_id of an object.

Synopsis

template<class Class>
static
type_id
dynamic_type(Class const& obj);

Description

Returns &typeid(obj), cast to type_id.

Return Value

The type_id of obj's class.

Template Parameters

Name Description

Class

A registered class.

Parameters

Name Description

obj

A reference to an instance of Class.

Created with MrDocs