boost::openmethod::policies::RttiFn::dynamic_type :: Boost.OpenMethod

# boost::openmethod::policies::RttiFn::dynamic_type

Returns the dynamic `type_id` of an object.

## Synopsis

Declared in `<boost/openmethod/preamble.hpp>`

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

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