boost::openmethod::virtual_traits<virtual_any<Any, Registry> const&, Registry>

Specialize virtual_traits for const virtual_any&.

Synopsis

Declared in <boost/openmethod/interop/virtual_any.hpp>

template<
    class Any,
    class Registry>
struct virtual_traits<virtual_any<Any, Registry> const&, Registry>;

Description

Dispatch is on the v‐table pointer stored in the virtual_any.

Type Aliases

Name

Description

virtual_type

The type used for dispatch.

Static Member Functions

Name

Description

peek

Returns a const reference to the virtual_any argument.

vptr

Returns a reference to the v‐table pointer for the stored value.

cast

Cast to a type.

Template Parameters

Name

Description

Any

An any type.

Registry

A registry.

Created with MrDocs