boost::openmethod::policies::vptr_map::fn::dynamic_vptr
Returns a reference to a v‐table pointer for an object.
Synopsis
template<class Class>
static
vptr_type const&
dynamic_vptr(Class const& arg);
Description
Acquires the dynamic type_id of arg, using the registry's rtti policy.
If the registry contains the runtime_checks policy, checks that the map contains the type id. If it does not, and if the registry contains a error_handler policy, calls its error function with a missing_class value, then terminates the program with abort.
Parameters
| Name | Description |
|---|---|
arg |
A reference to a const object of type |
Created with MrDocs