boost::openmethod::virtual_ptr::final

Construct a virtual_ptr for an object of a known exact class

Synopsis

Declared in <boost/openmethod/core.hpp>

template<class Other>
static
auto
final(Other&& obj);

Description

This function forwards to final_virtual_ptr.

Return Value

A virtual_ptr<Class, Registry> pointing to obj

Template Parameters

Name

Description

Other

The type of the argument

Parameters

Name

Description

obj

A reference to an object

Created with MrDocs