boost::openmethod::virtual_traits<boost::any&&, Registry>

Specialize virtual_traits for boost::any&& (xvalue reference).

Synopsis

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

template<class Registry>
struct virtual_traits<boost::any&&, Registry>;

Description

Dispatch is based on the runtime type of the value stored in the any, obtained via boost::any::type().

Type Aliases

Name

Description

virtual_type

The type used for dispatch.

Static Member Functions

Name

Description

peek

Returns a const reference to the any argument.

vptr

Returns a reference to a v‐table pointer for an object.

cast

Cast to a type.

Template Parameters

Name

Description

Registry

A registry.

Created with MrDocs