boost::openmethod::policies::vptr_map

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

Synopsis

template<class MapFn = mp11::mp_quote<unordered_map>>
class vptr_map
    : public vptr

Description

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

If the registry contains the indirect_vptr policy, vptr_map stores pointers to pointers to v‐tables.

Base Classes

Name Description

vptr

Policy for v‐table pointer acquisition.

Types

Name

Description

fn

A VptrFn metafunction.

Template Parameters

Name Description

MapFn

A mp11 quoted metafunction that takes a key type and a value type, and returns an AssociativeContainer.

Created with MrDocs