boost::openmethod::policies::vptr_vector::fn::initialize
Stores the v‐table pointers.
Synopsis
Declared in <boost/openmethod/policies/vptr_vector.hpp>
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.
The vector is rebuilt from scratch on every call, so a class that was registered during a previous call, and is not registered any more, does not keep its entry.
Template Parameters
Name |
Description |
Context |
An |
Options... |
Zero or more option types. |
Parameters
Name |
Description |
ctx |
A Context object. |
options |
A tuple of option objects. |
Created with MrDocs