boost::openmethod::policies::vptr_vector::fn

A VptrFn metafunction.

Synopsis

template<class Registry>
struct fn;

Types

Name

type_hash

Static Member Functions

Name

Description

initialize

Stores the v‐table pointers.

dynamic_vptr

Returns a reference to a v‐table pointer for an object.

finalize

Releases the memory allocated by initialize.

Static Data Members

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.

Template Parameters

Name Description

Registry

The registry containing this policy.

Created with MrDocs