boost::openmethod::policies::VptrFn::initialize

Register the v‐table pointers.

Synopsis

Declared in <boost/openmethod/preamble.hpp>

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

Description

Called by registry::initialize to let the policy store the v‐table pointer associated to each type_id.

Template Parameters

Name

Description

Context

A class that conforms to the InitializeContext blueprint.

Options...

Zero or more option types, deduced from the function arguments.

Parameters

Name

Description

ctx

A Context object.

options

A tuple of option objects.

Created with MrDocs