boost::openmethod::finalize

Release resources held by registry.

Synopsis

Declared in <boost/openmethod/initialize.hpp>

template<
    class Registry = boost::openmethod::default_registry,
    class... Options>
void
finalize(Options&&... opts);

Description

finalize may be called to release any resources allocated by registry::initialize.

A translation unit that contains a call to finalize must include the <boost/openmethod/initialize.hpp> header.

Each policy's finalize is called in the reverse of the registry's policy_list order, the mirror of initialize, so a policy is finalized before the policies it depends on.

Template Parameters

Name

Description

Registry

The registry to finalize.

Options...

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

Parameters

Name

Description

options

Zero or more option objects.

See Also

Created with MrDocs