boost::openmethod::virtual_ptr::final :: Boost.OpenMethod

# boost::openmethod::virtual_ptr::final

Construct a `virtual_ptr` from a reference to an object

## 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