boost::openmethod::policies::vptr

Policy for v‐table pointer acquisition.

Synopsis

struct vptr;

Types

Name

category

Derived Classes

Name Description

vptr_map

Stores v‐table pointers in a map keyed by `type_id`s.

vptr_vector

Stores v‐table pointers in a vector.

Requirements

Classes implementing this policy must:

  • derive from `vptr`.

  • provide a `fn<Registry>` metafunction that conforms to the VptrFn blueprint.

Created with MrDocs