boost::openmethod::VirtualTraits::cast

Casts a virtual argument.

Synopsis

template<typename U>
static
U
cast(T arg);

Description

Casts a virtual argument to the type expected by the overrider.

Return Value

A reference to the argument, cast to U.

Template Parameters

Name Description

T

The type of a virtual parameter of a method.

U

The type of a virtual parameter of an overrider.

Parameters

Name Description

arg

The argument passed to a method call.

Created with MrDocs