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

Stores the v‐table pointers.

Synopsis

template<
    class Context,
    class... Options>
static
void
initialize(
    Context const& ctx,
    std::tuple<Options...> const& options);

Description

If Registry contains a type_hash policy, its initialize function is called. Its result determines the size of the vector. The v‐table pointers are copied into the vector.

Template Parameters

Name Description

Context

An InitializeContext.

Options...

Zero or more option types.

Parameters

Name Description

ctx

A Context object.

options

A tuple of option objects.

Created with MrDocs