boost::openmethod::virtual_traits<virtual_ptr<Class, Registry>, Registry>::cast
Cast to another type.
Synopsis
Declared in <boost/openmethod/core.hpp>
template<typename Derived>
static
decltype(auto)
cast(virtual_ptr<Class, Registry> const& ptr);
Return Value
A lvalue reference to a virtual_ptr to the same object, cast to Derived::element_type.
Parameters
| Name | Description |
|---|---|
obj |
A lvalue reference to a |
Created with MrDocs