boost::openmethod::virtual_traits<boost::intrusive_ptr<Class> const&, Registry>::cast
Cast method argument to overrider argument.
Synopsis
template<class OverriderType>
static
decltype(auto)
cast(boost::intrusive_ptr<Class> const& obj);
Description
Cast a boost::intrusive_ptr to a boost::intrusive_ptr to a derived class, using a static cast if possible, and a dynamic cast otherwise.
Template Parameters
| Name | Description |
|---|---|
OverriderType |
The type required by the overrider (a |
Parameters
| Name | Description |
|---|---|
obj |
The method's argument.. |
Created with MrDocs