boost::openmethod::VirtualTraits :: Boost.OpenMethod

# boost::openmethod::VirtualTraits

Blueprint for a specialization of `virtual_traits` (exposition only).

## Synopsis

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

    template<
        typename T,
        class Registry>
    struct VirtualTraits;

## Description

Specializations of `virtual_traits` must implement the members listed here.

## Types

Name | Description
`virtual_type` | Class to use for dispatch.
`rebind` | Rebind to a another class (smart pointers only).

## Static Member Functions

Name | Description
`peek` | Returns a reference to the object to use for dispatch.
`cast` | Casts a virtual argument.

## Template Parameters

Name | Description
--- | ---
T | The type of a virtual parameter of a method.
Registry | A `registry`.

Created with MrDocs