boost::openmethod::policies::vptr_vector::fn::vptr
Returns a reference to a v‐table pointer for a type.
Synopsis
Declared in <boost/openmethod/policies/vptr_vector.hpp>
static
vptr_type const&
vptr(type_id type);
Description
If the registry has a type_hash policy, uses it to convert the type id to an index; otherwise, uses the type_id as the index.
If the registry contains the runtime_checks policy, verifies that the index falls within the limits of the vector. 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 |
type |
A |
Created with MrDocs