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

Register the v‐table pointers.

Synopsis

template<
    typename ForwardIterator,
    class... Options>
static
auto
initialize(
    ForwardIterator first,
    ForwardIterator last,
    std::tuple<Options...> opts);

Description

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

Template Parameters

Name

Description

ForwardIterator

An iterator to a range of IdsToVptr objects.

Options...

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

Parameters

Name

Description

first

An iterator to the beginning of the range.

last

An iterator to the end of the range.

options

Zero or more option objects.

Created with MrDocs