boost::openmethod::VirtualTraits

Blueprint for a specialization of virtual_traits (exposition only).

Synopsis

template<
    typename T,
    class Registry>
struct VirtualTraits;

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.

Description

Specializations of virtual_traits must implement the members listed here.

Template Parameters

Name Description

T

The type of a virtual parameter of a method.

Registry

A registry.

Created with MrDocs