boost::openmethod::registry::policy :: Boost.OpenMethod

# boost::openmethod::registry::policy

Find a policy by category.

## Synopsis

Declared in `<boost/openmethod/preamble.hpp>`

    template<class Category>
    using policy = /* implementation-defined */::type;

## Description

`policy` searches for a policy that derives from the specified `Category`. If none is found, it aliases to `void`. Otherwise, it aliases to the policy's `fn` metafunction, applied to the registry.

## Template Parameters

Name | Description
--- | ---
A | policy.

Created with MrDocs