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 boost::openmethod::initialize to let the policy store the v‐table pointer associated to each type_id.
If this function, or another policy's initialize, throws, the policy's state is restored to its previous value; see boost::openmethod::initialize.
Template Parameters
Name |
Description |
Context |
A class that conforms to the |
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