boost::openmethod::policies::vptr_map::fn::vptr

Returns a reference to a v‐table pointer for a type.

Synopsis

Declared in <boost/openmethod/policies/vptr_map.hpp>

static
vptr_type const&
vptr(type_id type);

Description

If the registry contains the runtime_checks policy, checks that the map contains the type id. 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.

Return Value

A reference to the v‐table pointer for type.

Parameters

Name

Description

type

A type_id.

Created with MrDocs