boost::openmethod::policies::vptr_vector::fn
A VptrFn metafunction.
Synopsis
Declared in <boost/openmethod/policies/vptr_vector.hpp>
template<class Registry>
struct fn;
Description
Keeps track of v‐table pointers using a std::vector.
If Registry contains a type_hash policy, it is used to convert `type_id`s to indices; otherwise, `type_id`s are used as indices.
If Registry contains the indirect_vptr policy, stores pointers to pointers to v‐tables in the map.
Types
Name |
Description |
The policy's state: the vector of v‐table pointers. Held in the registry's shared state (see |
Static Member Functions
Name |
Description |
Stores the v‐table pointers. |
|
Returns a reference to a v‐table pointer for an object. |
|
Releases the memory allocated by |
Template Parameters
Name |
Description |
Registry |
The registry containing this policy. |
Created with MrDocs