boost::openmethod::virtual_traits<Class&&, Registry>::cast
Cast to another type.
Synopsis
Declared in <boost/openmethod/core.hpp>
template<typename Derived>
static
Derived
cast(Class&& obj);
Description
Cast an object to another type. If possible, use static_cast. Otherwise, use Registry::rtti::dynamic_cast_ref.
Parameters
| Name | Description |
|---|---|
obj |
A reference to a |
Created with MrDocs