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

# boost::openmethod::policies::RttiFn::dynamic_cast_ref

Casts an object to a type.

## Synopsis

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

    template<
        typename D,
        typename B>
    static
    D
    dynamic_cast_ref(B&& obj);

## Template Parameters

Name | Description
--- | ---
D | A reference to a subclass of `B`.
B | A registered class.

## Parameters

Name | Description
--- | ---
obj | A reference to an instance of `B`.

Created with MrDocs