boost::openmethod::policies::VptrFn::vptr
Return a reference to the v‐table pointer for a type.
Synopsis
Declared in <boost/openmethod/preamble.hpp>
static
vptr_type const&
vptr(type_id type);
Description
Return a reference to the v‐table pointer that initialize associated to type.
This function is optional. Implement it if the registry is to be used with virtual parameters whose virtual_traits supply a type_id themselves, instead of an object ‐ see VirtualTraits::vptr. Both vptr_vector and vptr_map provide it, and implement dynamic_vptr in terms of it.
Parameters
Name |
Description |
type |
A |
Created with MrDocs